Difference between revisions of "Documentation/How Tos/Calc: ABS function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
(→See also:) |
||
Line 23: | Line 23: | ||
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | '''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | ||
+ | |||
+ | [[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']], | ||
+ | [[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']] |
Revision as of 07:21, 13 September 2008
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.
See also:
Functions listed alphabetically, Functions listed by category