Syntax
positiveValue = abs( expr )
Description
The abs function returns the absolute value of the numeric expression expr, which may be either integer or floating point.
The absolute value of a number is its distance from zero. Thus, the number 3 has an absolute value of 3, while the number -12.34 has an absolute value of 12.34. The absolute value of zero is zero.