Note that if both the integer quotient and remainder are needed, this method is faster than using the {@code divideToIntegralValue} and {@code remainder} methodsseparately because the division need only be carried out once. @param divisor value by which this {@code BigDecimal} is to be divided, and the remainder computed. @return a two element {@code BigDecimal} array: the quotient (the result of {@code divideToIntegralValue}) is the initial element and the remainder is the final element. @throws ArithmeticException if {@code divisor==0} @see #divideToIntegralValue(java.math.BigDecimal,java.math.MathContext) @see #remainder(java.math.BigDecimal,java.math.MathContext) @since 1.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|