MOD

MOD returns the remainder after a number is divided by another, or the number if the divisor is 0 (zero).

Return Value

NUMBER

Syntax

MOD(n2, n1)

Arguments

n2 is a numeric expression for the number to be divided.

n1 is a numeric expression for the divisor.

Example

MOD(13,7) returns the value 6.