org.ofbiz.minilang.method.otherops
Class Calculate.CalcOp
java.lang.Object
org.ofbiz.minilang.method.otherops.Calculate.CalcOp
- All Implemented Interfaces:
- Calculate.SubCalc
- Enclosing class:
- Calculate
protected static class Calculate.CalcOp
- extends java.lang.Object
- implements Calculate.SubCalc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPERATOR_ADD
public static final int OPERATOR_ADD
- See Also:
- Constant Field Values
OPERATOR_SUBTRACT
public static final int OPERATOR_SUBTRACT
- See Also:
- Constant Field Values
OPERATOR_MULTIPLY
public static final int OPERATOR_MULTIPLY
- See Also:
- Constant Field Values
OPERATOR_DIVIDE
public static final int OPERATOR_DIVIDE
- See Also:
- Constant Field Values
OPERATOR_NEGATIVE
public static final int OPERATOR_NEGATIVE
- See Also:
- Constant Field Values
Calculate.CalcOp
public Calculate.CalcOp(org.w3c.dom.Element element)
calcValue
public java.math.BigDecimal calcValue(MethodContext methodContext,
int scale,
int roundingMode)
- Specified by:
calcValue
in interface Calculate.SubCalc