Returns the absolute value (positive) of a number.

abs d
dnumber
Sourceprint (abs -2) print (abs 3) Execution2 3