Rounding package:HasBigDecimal
A RoundingAdvice is interpreted by divisions and rounding operations
to specify the expected loss of precision and the rounding behaviour.
RoundingAdvice is a pair of a
RoundingMode and a target
precision of type
Maybe Natural. The precision defines
the number of digits after the decimal point. If
Nothing is
given as precision all decimal digits are to be preserved, that is
precision is not limited.
RoundingMode defines how to handle loss of precision in divisions or
explicit rounding.