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
public final class Calculate.NumberOp extends MiniLangElement implements Calculate.SubCalc
Implements the <number> element.- See Also:
- Mini-language Reference
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.minilang.MiniLangElement
simpleMethod
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigDecimal
calcValue(MethodContext methodContext, int scale, java.math.RoundingMode roundingMode)
-
Methods inherited from class org.apache.ofbiz.minilang.MiniLangElement
gatherArtifactInfo, getLineNumber, getSimpleMethod, getTagName, outputTraceMessage, toString
-
-
-
-
Method Detail
-
calcValue
public java.math.BigDecimal calcValue(MethodContext methodContext, int scale, java.math.RoundingMode roundingMode) throws MiniLangException
- Specified by:
calcValue
in interfaceCalculate.SubCalc
- Throws:
MiniLangException
-
-