From: Milan Maksimovic Date: 2002-12-27T15:44:34+09:00 Subject: Re: 1210 / 100 = 12? what? >> From: "Tom Sawyer" > can someone explain this to me: >> >> puts "#{1210 / 100}" --> 12 >> >> why isn't the answer 12.1? >> >> i was getting ticked at javascript for producing poor arithmetic >> results but this is nuts! Hey, no reason for panic. class Fixnum def / ( rightSide ) return self.to_f / rightSide end end puts "#{1210 / 100}" --> 12.1 Regards, M.