Package cdm.base.math.functions
Class RoundToNearest.RoundToNearestDefault
java.lang.Object
cdm.base.math.functions.RoundToNearest
cdm.base.math.functions.RoundToNearest.RoundToNearestDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
RoundToNearest
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.base.math.functions.RoundToNearest
RoundToNearest.RoundToNearestDefault -
Field Summary
Fields inherited from class cdm.base.math.functions.RoundToNearest
conditionValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigDecimalassignOutput(BigDecimal roundedValue, BigDecimal value, BigDecimal nearest, RoundingModeEnum roundingMode) protected BigDecimaldoEvaluate(BigDecimal value, BigDecimal nearest, RoundingModeEnum roundingMode) Methods inherited from class cdm.base.math.functions.RoundToNearest
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Constructor Details
-
RoundToNearestDefault
public RoundToNearestDefault()
-
-
Method Details
-
doEvaluate
protected BigDecimal doEvaluate(BigDecimal value, BigDecimal nearest, RoundingModeEnum roundingMode) - Specified by:
doEvaluatein classRoundToNearest
-
assignOutput
protected BigDecimal assignOutput(BigDecimal roundedValue, BigDecimal value, BigDecimal nearest, RoundingModeEnum roundingMode)
-