The MOD function returns the remainder (modulus) of argument 1 divided by argument 2. The result is negative only if argument 1 is negative.
MOD ( integerExpression, integerExpression )
The result can be null; if any argument is null, the result is the null value.