method

to_f

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Integer
to_f() public

Converts int to a Float. If int doesn’t fit in a Float, the result is infinity.

Show source
Register or log in to add new notes.