Returns the result of dividing p
by q
, rounding using the specified
RoundingMode
.
Returns the result of dividing p
by q
, rounding using the specified
RoundingMode
.
ArithmeticException
if q == 0
, or if mode == UNNECESSARY
and a
is not an integer multiple of b