Mod Function - microsoft/MIMWAL GitHub Wiki

Syntax

int Mod(first:int, second:int)

Description

Divides the first integer number by the second integer number and returns the remainder of the division.

Remarks

If any input parameter is null, it is treated as if it's zero.

Supported Version

2.18.318.0 and later

Examples

Mod(5,2) returns 1.