PI returns the constant value of π (3.14159265358979).
PI has a precision of 14 decimals.
π is a constant, therefore PI always returns the same number.
The example returns the value of π (3.1415).
SELECT PI() AS PI
| PI |
|---|
| 3.14159265358979 |
Syntax of the PI function.
PI()