From: Stefan Rusterholz Date: 2007-07-20T00:15:14+09:00 Subject: Re: Float.to_int not working ?? Lloyd Linklater wrote: > print "#{((1.0 + 0.025)/0.0002 + 1.0).round.to_i} \n" Round already returns an integer, the .to_i is redundant ;-) Regards Stefan -- Posted via http://www.ruby-forum.com/.