ReferenceFunctionsMath Functions
QUOTIENT
QUOTIENT: Returns the integer portion of a division result, truncated toward zero.
Summary
Returns the integer portion of a division result, truncated toward zero.
Remarks
- Fractional remainder is discarded without rounding.
- Dividing by
0returns#DIV/0!. - Input errors are propagated.
Examples
Positive quotient
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
3
Negative quotient truncates toward zero
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
-3
Related functions
FAQ
How is QUOTIENT different from regular division?
It truncates the fractional part toward zero instead of returning a decimal result.
Runtime metadata
Category
Math
Signature
QUOTIENT(arg1: Number, arg2: Number)Arity
min 2, max 2
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
Caps
PURE
Source