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) |
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
||
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]] |
Revision as of 13:04, 20 November 2009
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.