Difference between revisions of "Manuals/calci/QUOTIENT"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="4SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | + | =QUOTIENT(dividend, divisor)= | |
− | + | *where <math>dividend</math> is the numerator | |
+ | *<math>divisor</math> is the denominator | ||
− | + | QUOTIENT() calculates the integer part of the division. | |
− | |||
− | |||
− | + | == Description == | |
− | + | QUOTIENT(dividend, divisor) | |
− | |||
− | |||
− | + | For Example, | |
+ | QUOTIENT(10,2) ''returns 5'' | ||
− | + | *This function is used to calculate the integer part of division of two numbers. | |
− | + | *If <math>dividend</math> or <math>divisor</math> are non-numeric, Calci returns an #ERROR message. | |
− | < | + | *MOD() function can be used to calculate the remainder of division of two numbers. |
− | |||
− | |||
− | + | == Examples == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div id="6SpaceContent" class="zcontent" align="left"> | <div id="6SpaceContent" class="zcontent" align="left"> | ||
{| id="TABLE3" class="SpreadSheet blue" | {| id="TABLE3" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
− | + | | class=" " | '''Function''' | |
− | + | | class=" " | '''Output''' | |
− | + | ||
− | | class=" " | | ||
− | | class=" " | | ||
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |QUOTIENT(55,5) | |
− | + | | class="sshl_f" |11 | |
− | | class="sshl_f" | | + | |
− | | class="sshl_f" | | ||
− | |||
− | |||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |QUOTIENT(-145,3) | |
− | | class="sshl_f" | -3 | + | | class="sshl_f" |-48 |
− | | class="sshl_f" | | + | |
− | |||
− | |||
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |QUOTIENT(4,10) | |
− | + | | class="sshl_f" |0 | |
− | + | ||
− | | class="sshl_f" | | ||
− | | class="sshl_f" | | ||
− | |||
− | |||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |QUOTIENT(66,-3) | |
− | | class="sshl_f" | | + | | class="sshl_f" |-22 |
− | | | + | |
− | |||
− | |||
− | | | ||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |QUOTIENT(-12,-4) | |
− | | class="sshl_f" | | + | | class="sshl_f" |3 |
− | |||
− | |||
− | |||
− | |||
− | | class=" | ||
− | |||
|} | |} | ||
− | + | == See Also == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *[[Manuals/calci/MOD | MOD]] | |
− | + | ==References== | |
− | + | *[http://en.wikipedia.org/wiki/Quotient QUOTIENT] | |
− | |||
− |
Revision as of 19:52, 13 December 2013
QUOTIENT(dividend, divisor)
- where is the numerator
- is the denominator
QUOTIENT() calculates the integer part of the division.
Description
QUOTIENT(dividend, divisor)
For Example, QUOTIENT(10,2) returns 5
- This function is used to calculate the integer part of division of two numbers.
- If or are non-numeric, Calci returns an #ERROR message.
- MOD() function can be used to calculate the remainder of division of two numbers.