method

to_f

v1_8_7_72 - Show latest stable - Class: Rational
to_f()
public

Converts the rational to a Float.