Difference between revisions of "Manuals/calci/QUOTIENT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=QUOTIENT(dividend, divisor)=
+
<div style="font-size:30px">'''QUOTIENT (numerator,denominator)'''</div><br/>
  
*where <math>dividend</math> is the numerator
+
*<math>numerator</math> is any real value.
*<math>divisor</math> is the denominator
+
*<math>denominator</math> is any real value.
 
+
**QUOTIENT(), returns the integer portion of a division.
QUOTIENT() calculates the integer part of the division.
 
  
 
== Description ==
 
== Description ==
  
QUOTIENT(dividend, divisor)
+
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>dividend</math> by <math>divisor</math>.
+
*This function displays the integer part of division of <math>numerator</math> by <math>denominator</math>.
*If <math>dividend</math> or <math>divisor</math> are non-numeric, Calci returns an #ERROR message.
+
*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 16: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

QUOTIENT

See Also

References