Skip to content

Mod Function

Nilesh Ghodekar edited this page Mar 18, 2018 · 1 revision

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.

Clone this wiki locally