Jari Williamsson wrote: > Is there any built-in method to get the fractional part from a float, or > do I need to resolve to a... > f - f.to_i > ...kind of approach? > If you think it's clearer: 8.2675.modulo(1) -- Posted via http://www.ruby-forum.com/.