MOD

The MOD function is used to perform a modulo divide of two numbers.

Syntax

result = dividend MOD divisor

Remarks

The MOD function divides dividend by divisor and returns the remainder as the result. For example, in the expression A = 19 MOD 6.7, A (which is the result) equals 5.6. The operands can be any number or numeric expression.