Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Mathモジュール > PI

constant Math::PI

PI -> Float

円周率

p Math::PI
# => 3.141592654
module Math