Difference between revisions of "Manuals/calci/CALC"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''CALC(Formula)'''</div><br/> *where <math>Formula</math> is the formula of any calculation to be performed. ==Description== *This function giv...")
 
Line 5: Line 5:
 
==Description==
 
==Description==
  
*This function gives the calculation result of given formula.
+
*This function gives the calculation result of formula entered as a parameter.
*<math>Formula</math>
+
*<math>Formula</math> should be entered in double quotes as shown:
 +
A=3;<br/>
 +
B=4;<br/>
 +
=CALC("A+B")
 +
 
  
 
==ZOS==
 
==ZOS==
  
*The syntax is to calculate SUM is ZOS is <math>SUM(a,b,...)</math>
+
*The syntax to calculate any entered formula in ZOS is <math>CALC(Formula)</math>
*<math> a,b,..</math> are numbers to be added.
+
*<math>Formula</math> is any equation to be calculated.
*There are any number of arguments also we can give to find the <math> SUM </math>.
+
 
*SUM(-20..-10,11..20,30..50)
 
{{#ev:youtube|8iJutK_1nS4|280|center|Sum}}
 
  
 
==Examples==
 
==Examples==
Line 24: Line 26:
 
| n2
 
| n2
 
| n3
 
| n3
| SUM
+
| Result
 
|- class="odd"
 
|- class="odd"
|SUM(1,2,3)
+
|CALC("MULT(1,2,3)")
 
| 1
 
| 1
 
| 2
 
| 2
Line 32: Line 34:
 
| 6
 
| 6
 
|- class="even"
 
|- class="even"
| SUM(5,-9,45)
+
| CALC("ADD(5,-9,45)")
 
| 5
 
| 5
 
| -9
 
| -9
Line 38: Line 40:
 
| 41
 
| 41
 
|- class="odd"
 
|- class="odd"
| SUM(A1:A3)
+
| CALC("SUM(A1:A3)")
 
| CELL A1                         
 
| CELL A1                         
 
| CELL A2
 
| CELL A2
Line 53: Line 55:
 
==See also==
 
==See also==
  
*[[Manuals/calci/AVERAGE| AVERAGE]]
+
*[[Manuals/calci/AVERAGE| ADD]]
 
*[[Manuals/calci/PRODUCT| PRODUCT]]
 
*[[Manuals/calci/PRODUCT| PRODUCT]]
  

Revision as of 05:49, 1 April 2017

CALC(Formula)


  • where is the formula of any calculation to be performed.

Description

  • This function gives the calculation result of formula entered as a parameter.
  • should be entered in double quotes as shown:

A=3;
B=4;
=CALC("A+B")


ZOS

  • The syntax to calculate any entered formula in ZOS is
  • is any equation to be calculated.


Examples

Equation n1 n2 n3 Result
CALC("MULT(1,2,3)") 1 2 3 6
CALC("ADD(5,-9,45)") 5 -9 45 41
CALC("SUM(A1:A3)") CELL A1 CELL A2 CELL A3 A1+A2+A3

Related Videos

SUM

See also

References

SUM