Documentation/How Tos/Calc: QUOTIENT function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 16:00, 24 December 2007 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


QUOTIENT

Returns the integer part of a division operation.


This function is only available if the Analysis AddIn is installed.


Syntax:

QUOTIENT(numerator; denominator)

returns the integer part of numerator divided by denominator.
QUOTIENT is equivalent to INT(numerator/denominator), except that it may report errors with different error codes.


Example:

QUOTIENT(11; 3)

returns 3, the integer part of 11 divided by 3. The remainder of 2 is lost.


See also:

MOD, INT

Mathematical functions

Personal tools