Package cdm.base.math.functions
Class RoundToNearestImpl
java.lang.Object
cdm.base.math.functions.RoundToNearest
cdm.base.math.functions.RoundToNearestImpl
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
-
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 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
-
RoundToNearestImpl
public RoundToNearestImpl()
-
-
Method Details
-
doEvaluate
protected BigDecimal doEvaluate(BigDecimal value, BigDecimal nearest, RoundingModeEnum roundingMode) - Specified by:
doEvaluatein classRoundToNearest
-