From: Peter Roome Date: 2007-10-27T05:09:36+09:00 Subject: Re: Rounding to the nearest 0.05 Konrad Meyer wrote: > Quoth Peter Roome: >> would the .to_f make between these solutions? >> -- >> Posted via http://www.ruby-forum.com/. > > One solution used (expr).to_f/20, the other used (expr)/20.0. > Both of these ensure floating point division is used instead of integer > division, that's all. Ahhhh ok thanks for clearing that up! -- Posted via http://www.ruby-forum.com/.