Difference between revisions of "Documentation/How Tos/Calc: ABS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
m |
||
Line 26: | Line 26: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation/Reference/Calc]] | + | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Revision as of 07:51, 3 May 2010
ABS
Returns the absolute value of a number.
Syntax:
ABS(number)
- number is the number whose absolute value is to be calculated. The absolute value of a number is its value without the +/- sign.
Example:
ABS(-56)
- returns 56.
ABS(12.3)
- returns 12.3.
ABS(0)
- returns 0.