Skip to main content

PI

Descriptionโ€‹

Returns the constant Pi value.

Syntaxโ€‹

PI()

Return valueโ€‹

Returns a constant Pi of type floating-point number.

Exampleโ€‹

select Pi();
+-------------------+
| pi() |
+-------------------+
| 3.141592653589793 |
+-------------------+

Enter to send ยท Shift+Enter for a new line