pi
Returns the value of Pi.
Syntaxβ
pi()
Parameterβ
N/A
Return valueβ
Returns the value of Pi as a DOUBLE type value.
Examplesβ
mysql> select pi();
+-------------------+
| pi() |
+-------------------+
| 3.141592653589793 |
+-------------------+
1 row in set (0.00 sec)