Categories:

Numeric functions (Trigonometric)

PI

Returns the value of pi as a floating-point value.

Syntax

PI()
Copy

Returns

This function returns a value of type FLOAT.

Examples

SELECT PI();
Copy
+-------------+
|        PI() |
|-------------|
| 3.141592654 |
+-------------+