Difference between revisions of "Documentation/How Tos/Calc: QUOTIENT function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:QUOTIENT function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_INT_function
 +
|NextPage=Documentation/How_Tos/Calc:_MOD_function
 +
}}__NOTOC__
  
 
== QUOTIENT ==
 
== QUOTIENT ==
Line 16: Line 21:
 
: returns <tt>'''3'''</tt>, the integer part of <tt>'''11'''</tt> divided by <tt>'''3'''</tt>. The remainder of <tt>'''2'''</tt> is lost.
 
: returns <tt>'''3'''</tt>, the integer part of <tt>'''11'''</tt> divided by <tt>'''3'''</tt>. The remainder of <tt>'''2'''</tt> is lost.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[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 by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 14:55, 31 January 2024

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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_QUOTIENT_function&oldid=259869"
Views
Personal tools
Navigation
Tools
In other languages