mod( <var>, <num1>, <num2> )

Description

This calculates the modulus of num1 / num2 and places the result in the specified variable.

Example

A = B MOD 2:
mod(A, B, 2)