Returns the remainder when one integer is divided by another.


MOD(number; divisor)
For integer arguments this function returns number modulo divisor, that is the remainder when number is divided by divisor. This function is implemented as number - divisor * INT( number/divisor) , and this formula gives the result if the arguments are not integer.


MOD(22; 3)
returns 1, the remainder when 22 is divided by 3.
MOD(11.25; 2.5)
returns 1.25.

Created with Zapof