> Just off-hand, my initial reaction would be: > > (a * 20).round.to_f/20 > > where "a" is your variable. Some quick tests with irb seems to show > this as working. > > Coey Cheers for the quick response guys, much appreciated. What difference would the .to_f make between these solutions? -- Posted via http://www.ruby-forum.com/.