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
Math
If there is insufficient information on this page and you wish learn more about ABS, please send an email to smallbasic@gmail.com. You can help to improve information about ABS by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.