Number.Mod

Syntax

Number.Mod(number as nullable number, divisor as nullable number, optional precision as nullable number) as nullable number

About

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.

Example 1

Find the remainder when you divide 5 by 3.

Usage

Number.Mod(5, 3)

Output

2