%ABS built-in function returns the absolute value of the numeric expression specified as the parameter.
%ABS (NumericExpression)
Required. Numeric expression can be any valid numeric expression.
If the value of the numeric expression is non-negative, the value is returned unchanged.
If the value is negative, the value returned is the value of the expression but with the negative sign removed.
For date, time, or timestamp data, the returned value includes any separator characters. The format and separators of the result are the same as that of the parameter.