abs()
Returns the absolute value (positive value) of number.
Syntax:
variable
= abs(
number
)
Example
print
abs(
-256
)
or
n=-256
print
abs(
n
)
will print on console the number 256 (note that the number is turned into positive value)