Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Abs(x) absolute value

postgres=# -- abs(x) absolute value postgres=# postgres=# select abs(-17.4) ;  abs ------  17.4 (1 row) postgres=# postgres=#