PI Function
The PI function returns the value of PI to 14 decimal places.
Syntax
PI()
Return Type
PI returns a DOUBLE PRECISION number.
Examples
Return the value of pi:
select pi(); pi ------------------ 3.14159265358979 (1 row)
The PI function returns the value of PI to 14 decimal places.
PI()
PI returns a DOUBLE PRECISION number.
Return the value of pi:
select pi(); pi ------------------ 3.14159265358979 (1 row)