Number.IntegerDivide

Number.IntegerDivide

Divides two numbers and returns the integer portion of the result.

function (optional number1 as nullable any, optional number2 as nullable any, optional precision as nullable any) as nullable any

Description

Returns the integer portion of the result from dividing a number, number1, by another number, number2. If number1 or number2 are null, Number.IntegerDivide returns null.

Category

Number.Operations

Examples

Divide 6 by 4.

Number.IntegerDivide(6, 4)

1

Divide 8.3 by 3.

Number.IntegerDivide(8.3, 3)

2