メインコンテンツまでスキップ
バージョン: 3.1

pi

説明​

円周率の値を返します。

構文​

pi()

パラメータ​

該当なし

戻り値​

円周率の値を DOUBLE 型として返します。

例​

mysql> select pi();
+-------------------+
| pi() |
+-------------------+
| 3.141592653589793 |
+-------------------+
1 row in set (0.00 sec)
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.