pi
円周率の値を返します。
構文
pi()
パラメータ
該当なし
戻り値
円周率の値を DOUBLE 型で返します。
例
mysql> select pi();
+-------------------+
| pi() |
+-------------------+
| 3.141592653589793 |
+-------------------+
1 row in set (0.00 sec)
AI generated answers are based on docs and other sources. Please test answers in non-production environments.