pi(): Returns the pi constant (3.14159...) : PI « Math Functions « PostgreSQL






pi(): Returns the pi constant (3.14159...)

postgres=# -- pi(): Returns the pi constant (3.14159...)
postgres=#
postgres=# SELECT pi() AS "the pi constant";
 the pi constant
------------------
 3.14159265358979
(1 row)

postgres=#

           
       








Related examples in the same category

1.pi() constant
2.Use pi() in calculation