Class BigDecAbs
- java.lang.Object
-
- com.singularsys.jep.functions.PostfixMathCommand
-
- com.singularsys.jep.functions.UnaryFunction
-
- com.singularsys.jep.functions.Abs
-
- com.singularsys.jep.bigdecimal.functions.BigDecAbs
-
- All Implemented Interfaces:
PostfixMathCommandI
,RealUnaryFunction
,java.io.Serializable
public class BigDecAbs extends Abs
Absolute value function for BigDecimals, Double and other Number types. UsesBigDecimal.abs()
for BigDecimals andAbs
for other types.- Author:
- Richard Morris
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
-
Constructor Summary
Constructors Constructor Description BigDecAbs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
abs(java.lang.Object l)
-
Methods inherited from class com.singularsys.jep.functions.UnaryFunction
instanceOf, instanceOf, run
-
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
-
-
-
-
Method Detail
-
abs
public java.lang.Object abs(java.lang.Object l) throws EvaluationException
- Overrides:
abs
in classAbs
- Throws:
EvaluationException
-
-