Documentation/How Tos/Calc: ABS function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 07:21, 13 September 2008 by Drking (Talk | contribs)

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:

SIGN

Mathematical functions

Functions listed alphabetically, Functions listed by category

Personal tools