ABS
Top  Previous  Next

(ABS(arg))

Returns the absolute or positive value of arg (a value with a DOUBLE, REAL, NUMERIC, or INTEGER data type).

In the following example, the value of vabs is 2.

SET VAR vnum = -2  
SET VAR vabs = (ABS(.vnum))