MOD
Syntax
MOD(number, divisor)
Description
Returns the remainder after dividing a number by a specified divisor.
Arguments
number |
Any number. |
divisor |
Any nonzero number. |
Returns
If divisor is 0, a record error is returned.
Examples
MOD (-23, 3)
Returns: 1
MOD (-23, -3)
Returns: -2