- divisor
- value by which this is divided.
- scale
- the scale of the result returned.
- roundingMode
- rounding mode to be used to round the result.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if divisor == null. Java.Lang.IllegalArgumentException if roundingMode is not a valid rounding mode. Java.Lang.ArithmeticException if divisor == 0. Java.Lang.ArithmeticException if roundingMode == ROUND_UNNECESSARY and rounding is necessary according to the given scale.
Returns a new BigDecimal whose value is this / divisor. As scale of the result the parameter scale is used. If rounding is required to meet the specified scale, then the specified rounding mode roundingMode is applied.