MOD

MOD the remainder of x under division by n

Synopsis

MOD(x,n)

Arguments

x: integer

n: integer

Description

MOD function returns the remainder when x is divided by n.

Note

If n is 0, MOD returns #DIV/0!

Microsoft Excel Compatibility

This function is Excel compatible.

See also

CEIL, CEILING, FLOOR, ABS, INT, ABS.