ABS function

From Apache OpenOffice Wiki
Jump to: navigation, search

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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_ABS_function&oldid=259880"
Views
Personal tools
Navigation
Tools
In other languages