Skip to main content
Version: 4.x

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