|
ABS
Abbreviation: A <SHIFT+B>
TYPE: Function-Numeric
FORMAT: ABS(<expression>)
Action: Returns the absolute value of the number, which is its
value without any signs. The absolute value of a negative number
is that number multiplied by -1.
EXAMPLES of ABS Function:
10 X = ABS (Y)
10 PRINT ABS (X*J)
10 IF X = ABS (X) THEN PRINT"POSITIVE"
|