MOD operator

Synopsis
This operator performs a modulo (remainder) operation. You can also use the % symbol to perform this operation.
Variations
Dividend MOD Divisor
Performs the modulo operation.
Parameters
Dividend

The dividend.

Supported types: Numeric.
Divisor

The divisor.

Supported types: Numeric.
Returns
Returned types: Numeric.
Examples
1.

Each of the following examples return alternatively 0 and 1 as the loop executes.

Loop.Count MOD 2
Loop.Count % 2