Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

PI

The PI() function returns the value of pi to 7 decimal places.

The full double precision value is used internally if PI() is used as part of an expression.

Syntax

PI()

Return Type

DOUBLE

Examples

SELECT PI();
+----------+
| PI()     |
+----------+
| 3.141593 |
+----------+

Last modified:

Was this article helpful?