Difference between revisions of "Manuals/calci/QUOTIENT"

From ZCubes Wiki
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 id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''QUOTIENT (numerator,denominator)'''</div><br/>
  
Syntax
+
*<math>numerator</math> is any real value.
 +
*<math>denominator</math> is any real value.
 +
**QUOTIENT(), returns the integer portion of a division.
  
</div></div>
+
== Description ==
----
 
<div id="4SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Remarks
+
QUOTIENT (numerator,denominator)
  
</div></div>
+
For Example,
----
+
QUOTIENT(10,2) ''returns 5''
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Examples
+
*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.
  
</div></div>
+
== Examples ==
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
 
 
</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman"> <font size="6">QUOTIENT</font> </font>'''</div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><br /><div id="7Space" class="gamizbox" title="7Space"><div id="7SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="7SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="7SpaceRollupContent" align="center"></span></span></div><div id="7SpaceCover"><div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3" face="Times New Roman"> </font>
 
 
'''QUOTIENT'''('''N''','''D''')
 
 
'''N'''   is the dividend and '''D'''   is the divisor.
 
 
</div></div>
 
----
 
 
<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=" " |
+
| class="  " | '''Function'''
| Column1
+
| class="  " | '''Output'''
| class="        " | Column2
+
 
| class="  " | Column3
 
| class="  " |
 
| Column4
 
|
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" |QUOTIENT(55,5)
| class="sshl_f" | -13
+
| class="sshl_f" |11
| class="sshl_f" | 4
+
 
| class="sshl_f" |
 
|
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| class="sshl_f" |QUOTIENT(-145,3)
| class="sshl_f" | -3
+
| class="sshl_f" |-48
| class="sshl_f" |
+
 
| class="sshl_f" |
 
|
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
| class="sshl_f" |QUOTIENT(4,10)
| class="sshl_fSelectTD SelectTD " |
+
| class="sshl_f" |0
<div id="6Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
+
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| Row4
+
| class="sshl_f" |QUOTIENT(66,-3)
| class="sshl_f" |
+
| class="sshl_f" |-22
|
+
 
|
 
|
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| Row6
+
| class="sshl_f" |QUOTIENT(-12,-4)
| class="sshl_f" |
+
| class="sshl_f" |3
|
 
|
 
|
 
|
 
| class="   " |
 
<div id="6Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
 
|}
 
|}
  
<div align="left"></div>''''''</div></div>
+
==Related Videos==
----
+
 
<div id="13SpaceContent" class="zcontent" align="left"><br /><br /><div id="1Space" class="gamizbox" title="1Space"><div id="1SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="1SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="1SpaceRollupContent" align="center"></span></span></div><div id="1SpaceCover"><div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3"><font face="Times New Roman"> 
+
{{#ev:youtube|BIGX05Mp5nw|280|center|QUOTIENT}}
 +
 
 +
== See Also ==
  
For non numeric arguments this function throws error.
+
*[[Manuals/calci/MOD | MOD]]
  
</font></font></div></div>
+
==References==
----
 
<div id="14SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="5Space" class="gamizbox" title="5Space"><div id="5SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="5SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="5SpaceRollupContent" align="center"></span></span></div><div id="5SpaceCover"><div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
It calculates the integer portion of a division.
+
*[http://en.wikipedia.org/wiki/Quotient QUOTIENT]
  
</div></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="9Space" class="gamizbox" title="9Space"><div id="9SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="9SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="9SpaceRollupContent" align="center"></span></span></div><div id="9SpaceCover"><div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3"><font face="Times New Roman"> 
 
  
Let’s see an example in (Column1 Row 1, Column2Row1)
 
  
QUOTIENT (N, D)
 
  
QUOTIENT (C1R1, C2R1)
 
  
i.e. =QUOTIENT (-13, 4) is -3
+
*[[Z_API_Functions | List of Main Z Functions]]
  
</font></font></div></div>
+
*[[ Z3 |  Z3 home ]]
----
 
</div></div></div></div></div></div></div></div></div></div></div>
 

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