The abs Statement
The abs statement lets you take the absolute value of an input value and store the result in the first argument. The first argument must be a variable but the second argument can be a variable, a numeric constant, or a constant expression. The syntax of the abs statement is shown below.
abs x, y // set x equal to the absolute value of y