abs(x): Returns the absolute value of x : abs « Math Functions « PostgreSQL






abs(x): Returns the absolute value of x


postgres=#
postgres=# -- abs(x): Returns the absolute value of x
postgres=# select abs(-100) AS abs_negative;
 abs_negative
--------------
          100
(1 row)

postgres=#
postgres=#
           
       








Related examples in the same category

1.abs(x) absolute value