Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > A

ABS

Scroll Prev Top Next More

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