ABSOLUTE-VALUE (ABS) Function

The ABSOLUTE-VALUE (or ABS) function returns a single numeric value which is the absolute value of the argument passed.

Usage

FUNCTION ABSOLUTE-VALUE (argument-1)

or

FUNCTION ABS (argument-1)

Parameter

argument-1 Must be class numeric.

Returned Value

The returned value is a single numeric value which is the absolute value of argument-1.