Outdated Version

You are viewing an older version of this section. View current production version.

PI

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