basic.abs Function/BASIC Program

basic.abs

Command basic.abs Function/BASIC Program
Applicable release versions: AP, R83
Category BASIC Program (486)
Description returns the absolute (positive) portion of the integer number derived from the given numeric expression.
Syntax abs(num.expression)
Options
Example
x = -1
y = abs(x)
print y

"y" will be a positive "1".
Purpose
Related basic.statements
basic.num.expression
basic.int
ue.b070
basic.functions