ABS( number )
Returns the absolute value of the argument ‘number’ (ie, any negative sign is removed and the positive number is returned).
PRINT ABS(123)
123
PRINT ABS(123.45)
123.45
PRINT ABS(-123)
123
PRINT ABS(0)
0
See also:
CINT
EXP
FIX
INT
SGN
Applies to:
CGCOLORMAX
CGMMSTICK
CGMICROBOARD
CGMICROMITE
Leave a Reply