This function executes a modulo (mod) operation, and returns the remainder after division of one number (the dividend) by another (the divisor). Given two numbers
a (dividend) and
n (divisor),
Mod(a,n) returns the remainder of the division of
a by
n. For example,
Mod(5,2) evaluates to
1 because
5 divided by
2 leaves a quotient of
2 and a remainder of
1.
The remainder after division of one number (the dividend) by another (the divisor). The remainder returned is the least positive remainder (
dividend/divider=quotient+remainder).