Documentation/How Tos/Calc: 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=243297"
Views
Personal tools
Navigation
Tools