Number.Mod
Integer divides two numbers and returns the remainder.
Syntax
Number.Mod(
number as number,
divisor as number,
optional precision as Precision.Type
) as number
Remarks
Returns the remainder resulting from the integer division of number
by divisor
. If number
or divisor
are null, Number.Mod
returns null.
number
: The dividend.divisor
: The divisor.
Examples
Example #1
Find the remainder when you divide 5 by 3.
Number.Mod(5, 3)
Result:
2
Category
Number.Operations