MOD(m, n)


MOD() computes the remainder of m (of any numeric type) divided by n (of any numeric type) after rounding both m and n to the nearest integer.

Return Value

A Number value: the remainder of m (rounded to the nearest integer) divided by n (rounded to the nearest integer). The result will have the same sign as m.

Did this answer your question?