math_pi
円周と直径の比率を表す円周率を表します。
定義¶
名前空間: Alice.Math
アセンブリ: Losetta.Runtime.dll
ソースコード: Alice.Math.cs
π
で表される円周と直径の比率を表す円周率を返します。
値¶
値 | |
---|---|
number |
円周率の近似値 |
対応 | |
---|---|
AliceScript | RC1、RC2、GM、2.0、2.1、2.2、2.3、3.0、4 |
AliceSister | GM、2.0、2.1、2.2、2.3、3.0、4 |
Losetta | 0.8、0.9、0.10、0.11 |
例¶
次の例では、定数π
を取得します。