# File lib/eymiha/math/fraction.rb, line 27 def round_to_nearest(denominator=1) ((self*denominator).round)/(1.0*denominator) end