Mega Code Archive

 
Categories / PostgreSQL / Math Functions
 

Pi()

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