mod


Description:

public Result<BigDecimal,Error> mod (BigDecimal other)

Returns remainder of this value divided by other.

Parameters:

other

divisor.

Returns:

Result.ok(remainder), or Result.error(BigDecimalError.DIVISION_BY_ZERO / SCALE_OVERFLOW).