Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Fixnum > to_f
to_f -> Float
値を浮動小数点数(Float)に変換します。