Skip to main content
VeloDB Cloud 4.x·Apache Doris 3.x·"Since X.Y" tags refer to Doris versionsversion mapping →

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 |
+-------------------+