ABS( ) function

Returns the absolute value of a numeric expression. The absolute value of a number is the number without its sign.

Syntax

ABS(number)

Parameters

Name Type Description
number numeric The value to find the absolute value for.

Output

Numeric.

Examples

Basic examples

Returns 7.2:

ABS(7.2)

Returns 7.2:

ABS(-7.2)
ACL Scripting Guide 14.1