%ABS Function

The %ABS built-in function returns the absolute value of the numeric expression specified as the parameter.

%ABS(NumericExpression)

Parameters

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.

See Also

Built-in Function Overview