Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Integer > to_f

instance method Integer#to_f

to_f -> Float

値を浮動小数点数(Float)に変換します。