Number.Mod

Last updated 5 months ago

Number.Mod

Integer divides two numbers and returns the remainder.

function (optional number as nullable any, optional divisor as nullable any, optional precision as nullable any) as nullable any

Description

Returns the remainder resulting from the integer division of number by divisor. If number or divisor are null, Number.Mod returns null.

Category

Number.Operations

Examples

Find the remainder when you divide 5 by 3.

Number.Mod(5, 3)

2