abs(x) absolute value : abs « Math Functions « PostgreSQL






abs(x) absolute value


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

postgres=#
postgres=#
           
       








Related examples in the same category

1.abs(x): Returns the absolute value of x