Difference between revisions of "Manuals/calci/CALC"
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 | + | *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 | + | *The syntax to calculate any entered formula in ZOS is <math>CALC(Formula)</math> |
− | *<math> | + | *<math>Formula</math> is any equation to be calculated. |
− | + | ||
− | |||
− | |||
==Examples== | ==Examples== | ||
Line 24: | Line 26: | ||
| n2 | | n2 | ||
| n3 | | n3 | ||
− | | | + | | Result |
|- class="odd" | |- class="odd" | ||
− | | | + | |CALC("MULT(1,2,3)") |
| 1 | | 1 | ||
| 2 | | 2 | ||
Line 32: | Line 34: | ||
| 6 | | 6 | ||
|- class="even" | |- class="even" | ||
− | | | + | | 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| | + | *[[Manuals/calci/AVERAGE| ADD]] |
*[[Manuals/calci/PRODUCT| PRODUCT]] | *[[Manuals/calci/PRODUCT| PRODUCT]] | ||
Revision as of 04: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
See also
References