Class RoundHalfUpFunction
- java.lang.Object
-
- org.kie.dmn.feel.runtime.functions.BaseFEELFunction
-
- org.kie.dmn.feel.runtime.functions.extended.RoundHalfUpFunction
-
- All Implemented Interfaces:
FEELFunction
public class RoundHalfUpFunction extends BaseFEELFunction
provisional access for DMN14-126
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.kie.dmn.feel.runtime.FEELFunction
FEELFunction.Param
-
-
Field Summary
Fields Modifier and Type Field Description static RoundHalfUpFunctionINSTANCE
-
Constructor Summary
Constructors Constructor Description RoundHalfUpFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FEELFnResult<java.math.BigDecimal>invoke(java.math.BigDecimal n)FEELFnResult<java.math.BigDecimal>invoke(java.math.BigDecimal n, java.math.BigDecimal scale)-
Methods inherited from class org.kie.dmn.feel.runtime.functions.BaseFEELFunction
getName, getParameters, getSymbol, invoke, invokeReflectively, isCustomFunction, setName
-
-
-
-
Field Detail
-
INSTANCE
public static final RoundHalfUpFunction INSTANCE
-
-
Method Detail
-
invoke
public FEELFnResult<java.math.BigDecimal> invoke(java.math.BigDecimal n)
-
invoke
public FEELFnResult<java.math.BigDecimal> invoke(java.math.BigDecimal n, java.math.BigDecimal scale)
-
-