Since version 2.0


abs(<int expression>) | abs%(<float expression>)

The ABS() function returns the absolute value (value without the sign) of the given numeric expression.

Argument type and return type must match.


print abs(-3)
rem -- will print 3

print abs%(-3.14)
rem -- will print 3.14
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies


Enter your comment. Wiki syntax is allowed: