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