PostgreSQL PI
From w3cyberlearnings
Contents |
Postgresql PI
This function returns the value of PI.
Syntax PI
PI();
Example 1
postgres=# SELECT PI(); pi ------------------ 3.14159265358979 (1 row) postgres=# SELECT PI() * 2; ?column? ------------------ 6.28318530717959 (1 row)