ABS

ABS


ABORT Index Level ac.expression
Syntax ABS( num.expression )
Category BASIC
Type Function
Description returns the absolute (positive) portion of the integer number derived from the given numeric expression.
Options
See Also statements & functions num.expression INT ub070 functions
Example x = -1
y = abs(x)
print y

"y" will be a positive "1".
Warnings If the expression is non-numeric, then zero is assumed.
Compatibility D3 7.0 AP R83
ABORT Index Level ac.expression