ABS

f = ABS (x)

Returns the absolute value of x.

Example

a =  1
b = -1

print abs(a)      ' Output: 1
print abs(b)      ' Output: 1