Uses of Class
org.znerd.math.RoundingMode
-
Uses of RoundingMode in org.znerd.math
Fields in org.znerd.math declared as RoundingModeModifier and TypeFieldDescriptionstatic final RoundingModeRoundingModes.ROUND_CEILINGRounding mode that rounds towards positive infinity.static final RoundingModeRoundingModes.ROUND_DOWNRounding mode that rounds towards 0.static final RoundingModeRoundingModes.ROUND_FLOORRounding mode that rounds towards negative infinity.static final RoundingModeRoundingModes.ROUND_UPRounding mode that rounds away from 0.Methods in org.znerd.math with parameters of type RoundingModeModifier and TypeMethodDescriptionRealNumber.round(int radix, int precision, RoundingMode roundingMode) Rounds to the specified radix, using the specified precision and rounding mode.SmallIntegerNumber.round(int radix, int precision, RoundingMode roundingMode)