This function calculates the absolute value of a number.
Abs(number)
Returns the absolute value of its parameter. Abs returns the same variant type as the numeric expression that was passed to it: Integer, Single, or Double.
The absolute value of number is the number without its sign. For example, Abs(–1) and Abs(1) both return 1.