Difference between revisions of "Manuals/calci/MAX"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''MAX'''('''n1''',n2,...) Where n1,n2……are numbers. </div> ---- <div id="1SpaceContent" class="zcontent"...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=MAX(n1,n2,...)=
  
'''MAX'''('''n1''',n2,...)
+
*Where n1,n2,... are numbers.
  
Where n1,n2……are numbers.
+
MAX() calculates the largest value in a set of values.
  
</div>
+
== Description ==
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
It calculates the largest value in a set of values.
+
MAX(n1,n2,....)
  
</div>
+
For Example,
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
·          MAX function displays zero, when  the arguments contain no numbers.
+
MAX(10,40,5,2,100) ''returns 100''
 +
MAX(-3,0.02,TRUE,-7) ''returns 1''
  
</div>
+
*Calci displays zero if the arguments do not have any numbers.
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">MAX </div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
  
{| width="51" cellpadding="1"
+
== Examples ==
| valign="bottom" | '''<font size="2" face="Tahoma"> <center><font size="3">Data</font></center> </font>'''
 
|-
 
| <font size="3" face="Tahoma">
 
  
<font size="3">15</font>
 
 
</font>
 
|-
 
| <font size="3" face="Tahoma">
 
 
<font size="3">20</font>
 
 
</font>
 
|-
 
| <font size="3" face="Tahoma">
 
 
<font size="3">3</font>
 
 
</font>
 
|-
 
| <font size="3" face="Tahoma">
 
 
<font size="3">32</font>
 
 
</font>
 
|-
 
| <font size="3" face="Tahoma">
 
 
<font size="3">13</font>
 
 
</font>
 
|}
 
 
<font size="3" color="#7f7f7f">
 
 
</font><font size="2" face="Times New Roman">
 
 
<font size="3">Let’s see an example in (Column1 Row 1:Column1Row6)</font>
 
 
<font size="3">MAX (n1, n2….)</font>
 
 
<font size="3">i.e.MAX (C1R1: C1R6) is 32</font>
 
 
</font></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
 
<div id="2SpaceContent" class="zcontent" align="left"><div>
 
<div id="2SpaceContent" class="zcontent" align="left"><div>
  
 
{| id="TABLE1" class="SpreadSheet blue"
 
{| id="TABLE1" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class="sshl_f" | 15
| Column1
 
| class="            " | Column2
 
| class="    " | Column3
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f " | 15
 
 
| class="sshl_f" | 32
 
| class="sshl_f" | 32
 
| class="sshl_f" |
 
| class="sshl_f" |
|- class="even"
+
 
| class="  " | Row2
+
|- class="odd"
 
| class="sshl_f" | 20
 
| class="sshl_f" | 20
| class="SelectTD" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
|- class="odd"
+
| class="sshl_f" |
| Row3
+
 
 +
|- class="even"
 
| class="sshl_f" | 3
 
| class="sshl_f" | 3
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
|- class="even"
+
 
| Row4
+
|- class="odd"
 
| class="sshl_f" | 32
 
| class="sshl_f" | 32
 
| class="sshl_f" |
 
| class="sshl_f" |
|
+
| class="sshl_f" |
|- class="odd"
+
 
| class="sshl_f" | Row5
 
| class="sshl_f " | 13
 
| class="  " |
 
|
 
 
|- class="even"
 
|- class="even"
| class=" " | Row6
+
| class="sshl_f" |  
 +
| class="sshl_f" | 13
 
| class="sshl_f" |
 
| class="sshl_f" |
 +
 +
|- class="odd"
 +
| class="sshl_f" |
 +
| class="sshl_f" | 13.5
 
| class="sshl_f" |
 
| class="sshl_f" |
|
+
 
 
|}
 
|}
 
<div align="left"></div>''''''</div></div>
 
----
 

Revision as of 20:15, 5 December 2013

MAX(n1,n2,...)

  • Where n1,n2,... are numbers.

MAX() calculates the largest value in a set of values.

Description

MAX(n1,n2,....)

For Example,

MAX(10,40,5,2,100) returns 100 MAX(-3,0.02,TRUE,-7) returns 1

  • Calci displays zero if the arguments do not have any numbers.

Examples

15 32
20
3
32
13
13.5