- divisor
- value by which this is divided.
- mc
- rounding mode and precision to be used.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if divisor == null. Java.Lang.ArithmeticException if divisor == 0. Java.Lang.ArithmeticException if mc.getPrecision() > 0 and the result of this.divideToIntegralValue(divisor, mc) requires more digits to be represented.
Returns a new BigDecimal whose value is this % divisor.
The remainder is defined as this - this.divideToIntegralValue(divisor) * divisor.
The specified rounding mode mc is used for the division only.