Name: ABS Syntax: (ABS(arg))
Family: Function Category: Arithmetic and Mathematical
Description: Absolute Value

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))