- divisor
- value by which this is divided.
- mc
- rounding mode and precision for the result of this operation.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if divisor == null or mc == null. Java.Lang.ArithmeticException if divisor == 0. Java.Lang.ArithmeticException if mc.getRoundingMode() == UNNECESSARY and rounding is necessary according mc.getPrecision().
Returns a new BigDecimal whose value is this / divisor. The result is rounded according to the passed context mc. If the passed math context specifies precision 0, then this call is equivalent to this.divide(divisor).