MOD() Function - Decimal Modulo (Remainder)

Syntax

MOD(numA,numB{,ERR=lineref})

Description

The MOD() function returns the modulo (remainder) result using the following rules:

Examples

>PRINT MOD(14,3)
2
>PRINT MOD(50,10)
0