Package-level declarations
Core functions and types.
Types
Strategy that does not round a value.
Strategy to round a value precisely.
Strategy to round a Double or Float value to a given precision scale using a specified java.math.RoundingMode policy. The companion object exposes two factory methods to create the appropriate strategy:
Functions
Rounds the BigDecimal using the given Rounding.
Rounds the BigDecimal to a given precision scale using java.math.RoundingMode.HALF_EVEN rounding mode.
Rounds the double value using the given Rounding.
Rounds the double value to a given precision scale using java.math.RoundingMode.HALF_EVEN rounding mode.
Rounds the float value using the given Rounding.
Rounds the float value to a given precision scale using java.math.RoundingMode.HALF_EVEN rounding mode.