Skip to main content



Mod Function

Divides two numbers and returns only the remainder.

Syntax

Mod(number, divisor)

Divides two numbers and returns only the remainder.

Arguments

number Numeric - A numeric expression.

divisor Numeric - A numeric expression.

Remarks

Example:

Mod(7, 3); // returns 1