Mod

Mod(<value1>, <value2>)

The function returns the remainder of an integer division («modulo» operation).

Parameters

value1The dividend.
value2The divisor.

Examples

MsgBox(Mod(5, 2)) # --> 1