ABS returns the absolute value of the argument. The return value has the same data type as the argument..
Syntax
ABS ( expression )
Semantics
expression
is a value of type INTEGER or DOUBLE PRECISION
Examples
ABS(-17.4)
Result: 17.4
17.4