pi function

The pi function returns the value of pi, that is, 3.141592653589793.

Syntax:

double pi()

Semantics:

Example 1 - pi function

SELECT pi() AS PI FROM Archery

Output:

+-----------+-------------------+
| PI        | 3.141592653589793 |
+-----------+-------------------+