AKD BASIC User Guide | 5 AKD BASIC Functions
5.1 ABS()
General Information
Type Function
Description
ABS(x) converts the associated value (x) to an absolute value. If the value is neg-
ative, it is converted to a positive value. If the value is positive, it is not changed.
Instructions
Enter the argument (the value) in parentheses immediately following the term ABS.
Example
For x = -10 To 10
Print ABS(x)
Next
Kollmorgenâ„¢ | March 30, 2012 64