Abs

Summary

The Abs function returns the absolute value of a numeric expression.

Syntax

Abs((numeric_exp>)

Return Type

The type corresponding to the numeric input.

Details

 

Examples

 
select Abs(-1.234) from Empty(rows=1);
1.234
select Abs(-3) from Empty(rows=1);
3

Related Functions