Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Fixnumクラス > to_f

instance method Fixnum#to_f

to_f -> Float

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

class Fixnum