Number.IntegerDivide

Syntax

Number.IntegerDivide(number1 as nullable number, number2 as nullable number, optional precision as nullable number) as nullable number

About

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.

  • number1: The dividend.
  • number2: The divisor.

Example 1

Divide 6 by 4.

Usage

Number.IntegerDivide(6, 4)

Output

1

Example 2

Divide 8.3 by 3.

Usage

Number.IntegerDivide(8.3, 3)

Output

2