- mc
- rounding mode and precision for the result of this operation.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ArithmeticException if mc.precision > 0 and mc.roundingMode == UNNECESSARY and this cannot be represented within the given precision.
Returns a new BigDecimal whose value is this, rounded according to the passed context mc.
If mc.precision = 0, then no rounding is performed.
If mc.precision > 0 and mc.roundingMode == UNNECESSARY, then an ArithmeticException is thrown if the result cannot be represented exactly within the given precision.