Class Calculate.NumberOp
java.lang.Object
org.apache.ofbiz.minilang.MiniLangElement
org.apache.ofbiz.minilang.method.otherops.Calculate.NumberOp
- All Implemented Interfaces:
Calculate.SubCalc
- Enclosing class:
- Calculate
Implements the <number> element.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncalcValue
(MethodContext methodContext, int scale, RoundingMode roundingMode) Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
Method Details
-
calcValue
public BigDecimal calcValue(MethodContext methodContext, int scale, RoundingMode roundingMode) throws MiniLangException - Specified by:
calcValue
in interfaceCalculate.SubCalc
- Throws:
MiniLangException
-