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=...") |
|||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <div | + | <div style="font-size:30px">'''QUOTIENT (numerator,denominator)'''</div><br/> |
| − | + | *<math>numerator</math> is any real value. | |
| + | *<math>denominator</math> is any real value. | ||
| + | **QUOTIENT(), returns the integer portion of a division. | ||
| − | + | == Description == | |
| − | |||
| − | |||
| − | + | QUOTIENT (numerator,denominator) | |
| − | + | For Example, | |
| − | + | QUOTIENT(10,2) ''returns 5'' | |
| − | |||
| − | + | *This function displays the integer part of division of <math>numerator</math> by <math>denominator</math>. | |
| + | *If <math>numerator</math> or <math>denominator</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=" | ||
| − | |||
|} | |} | ||
| − | + | ==Related Videos== | |
| − | + | ||
| − | + | {{#ev:youtube|BIGX05Mp5nw|280|center|QUOTIENT}} | |
| + | |||
| + | == See Also == | ||
| − | + | *[[Manuals/calci/MOD | MOD]] | |
| − | + | ==References== | |
| − | |||
| − | |||
| − | + | *[http://en.wikipedia.org/wiki/Quotient QUOTIENT] | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | *[[Z_API_Functions | List of Main Z Functions]] | |
| − | + | *[[ Z3 | Z3 home ]] | |
| − | |||
| − | |||
Latest revision as of 15:14, 21 August 2018
QUOTIENT (numerator,denominator)
- is any real value.
- is any real value.
- QUOTIENT(), returns the integer portion of a division.
Description
QUOTIENT (numerator,denominator)
For Example, QUOTIENT(10,2) returns 5
- This function displays the integer part of division of by .
- If or are non-numeric, Calci returns an #ERROR message.
- MOD() function can be used to calculate the remainder of division of two numbers.
Examples
| Function | Output |
| QUOTIENT(55,5) | 11 |
| QUOTIENT(-145,3) | -48 |
| QUOTIENT(4,10) | 0 |
| QUOTIENT(66,-3) | -22 |
| QUOTIENT(-12,-4) | 3 |
Related Videos
See Also
References