= private = protected
to_f()
Converts the rational to a Float.
# File lib/rational.rb, line 389 def to_f @numerator.to_f/@denominator.to_f end