Difference between revisions of "Manuals/calci/QUOTIENT"
Jump to navigation
Jump to search
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | =QUOTIENT( | + | <div style="font-size:30px">'''QUOTIENT (numerator,denominator)'''</div><br/> |
− | * | + | *<math>numerator</math> is any real value. |
− | *<math> | + | *<math>denominator</math> is any real value. |
− | + | **QUOTIENT(), returns the integer portion of a division. | |
− | QUOTIENT() | ||
== Description == | == Description == | ||
− | QUOTIENT( | + | QUOTIENT (numerator,denominator) |
For Example, | For Example, | ||
QUOTIENT(10,2) ''returns 5'' | QUOTIENT(10,2) ''returns 5'' | ||
− | *This function displays the integer part of division of <math> | + | *This function displays the integer part of division of <math>numerator</math> by <math>denominator</math>. |
− | *If <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. | *MOD() function can be used to calculate the remainder of division of two numbers. | ||
Line 46: | Line 45: | ||
| class="sshl_f" |3 | | class="sshl_f" |3 | ||
|} | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|BIGX05Mp5nw|280|center|QUOTIENT}} | ||
== See Also == | == See Also == | ||
Line 54: | Line 57: | ||
*[http://en.wikipedia.org/wiki/Quotient QUOTIENT] | *[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