Difference between revisions of "Manuals/calci/ABC"

From ZCubes Wiki
Jump to navigation Jump to search
Line 16: Line 16:
  
 
<font size="3"><font face="Times New Roman">It calculates the absolute value of a number. </font></font>
 
<font size="3"><font face="Times New Roman">It calculates the absolute value of a number. </font></font>
 +
<div id="6SpaceContent" class="zcontent" align="left">
  
 +
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class=" " |
 +
| Column1
 +
| class="  " | Column2
 +
| Column3
 +
| Column4
 +
|- class="odd"
 +
| class=" " | Row1
 +
| class="sshl_f" | 0
 +
| 3
 +
| 4
 +
| class="sshl_f" | 5
 +
|- class="even"
 +
| class="  " | Row2
 +
| class="sshl_f" | 0
 +
| class="sshl_f" | 8
 +
| 9
 +
| class="sshl_f" | 128
 +
|- class="odd"
 +
| Row3
 +
| class="sshl_f" | 5
 +
| class="sshl_f" | 5
 +
| 14
 +
| class="sshl_f    " | 15
 +
|- class="even"
 +
| Row4
 +
| class="sshl_f  " |
 +
| class="sshl_f" | 0
 +
| class="sshl_f" | 10000
 +
| class="  " | 20
 +
|- class="odd"
 +
| class=" " | Row5
 +
| class="sshl_f" | 0
 +
| class="  " | 13
 +
| 10027
 +
| 168
 +
|- class="even"
 +
| Row6
 +
| class="sshl_f" | 0
 +
| 0.8509
 +
| 1.6198
 +
| 0.5253
 +
|}
 
</div></div>
 
</div></div>
 
----
 
----

Revision as of 00:44, 29 October 2013

Syntax



Examples


It calculates the absolute value of a number.

Column1 Column2 Column3 Column4
Row1 0 3 4 5
Row2 0 8 9 128
Row3 5 5 14 15
Row4 0 10000 20
Row5 0 13 10027 168
Row6 0 0.8509 1.6198 0.5253

'   ABS '

Description


ABS (N1)

Where N1 is a real number of which you want the absolute value.



'

ABS(N1)

That is ABS(-5) is 5