ABS

Returns the absolute value of an expression that represents a numerical value.

Format

ABS(x)

Argument

 
x
Any valid expression that evaluates to a real number.

Example

The following example illustrates the use of the ABS function:
 
Function
ABS(3*(-.89))
Result
2.67