Difference between revisions of "Documentation/How Tos/Calc: QUOTIENT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 18: | Line 18: | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
* [[Documentation/How_Tos/Calc: MOD function|MOD]] | * [[Documentation/How_Tos/Calc: MOD function|MOD]] | ||
− | * [[Documentation/How_Tos/Calc: INT function|INT]] | + | * [[Documentation/How_Tos/Calc: INT function|INT]] |
− | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] |
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 14:34, 26 February 2009
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.