QUOTIENT (Numerator, Denominator) QUOTIENT (Numerator; Denominator)

Numerator

Number Number

The numerator, which is divided by the denominator.

Denominator

Number Number

The denominator, which divides the numerator.

Returns

Number Number

The integer portion of a division operation.

Returns the integer (whole number) portion of a division. QUOTIENT (5, 2) QUOTIENT (5; 2) returns 2.

Unlike the / operator, this function only returns integers, not decimal numbers. 5 / 25 / 2 returns 2.5.

The remainder left by QUOTIENT may be accessed through the MOD function. QUOTIENT (5, 2) QUOTIENT (5; 2) returns 2 and MOD (5, 2) MOD (5; 2)) returns 1 ( 2 * 2 + 12 * 2 + 1).

Examples

QUOTIENT (5, 2)
QUOTIENT (5; 2)

Returns 2.

5 / 2
5 / 2

Returns 2.5.

QUOTIENT (300, 30)
QUOTIENT (300; 30)

Returns 10.

fxEngine Shell Want this in your own terminal? A standalone version is coming. Get notified.
Loading fxEngine Shell