divide To Integral Value
Returns a BigDecimal whose value is the integer part of the quotient (this / divisor) rounded down. The preferred _scale of the result is (this._scale() - divisor._scale()).
Return
The integer part of this / divisor.
Since
1.5
Parameters
value by which this BigDecimal is to be divided.
Throws
if divisor==0
Returns a BigDecimal whose value is the integer part of (this / divisor). Since the integer part of the exact quotient does not depend on the rounding mode, the rounding mode does not affect the values returned by this method. The preferred _scale of the result is (this._scale() - divisor._scale()). An ArithmeticException is thrown if the integer part of the exact quotient needs more than mc._precision digits.
Return
The integer part of this / divisor.
Since
1.5
Author
Joseph D. Darcy
Parameters
value by which this BigDecimal is to be divided.
the context to use.
Throws
if mc._precision > 0 and the result requires a _precision of more than mc._precision digits.