Miscellaneous mathematical functions take numeric arguments and produce numeric results.

— Function: **MOD** (`numerator, denominator`)

Returns the remainder (modulus) of

numeratordivided bydenominator. Ifnumeratoris 0, then the result is 0, even ifdenominatoris missing. Ifdenominatoris 0, the result is system-missing.

— Function: **MOD10** (`number`)

Returns the remainder when

numberis divided by 10. Ifnumberis negative, MOD10(number) is negative or zero.