From: Paul Brannan Date: 2003-03-22T01:10:56+09:00 Subject: Re: Newbie question: 9/5=1 ? On Fri, Mar 21, 2003 at 04:05:42AM +0900, Joel VanderWerf wrote: > Thomas Jollans wrote: > >while learning ruby i wanted to program a simple fahrenheit to celsius > >converter. for that i need 9/5 to be 1,8 (and not 1). how do i do that > >in ruby? > > irb(main):001:0> require 'mathn' > true > irb(main):002:0> 1/2 > 1/2 What happens if you do this from an extension? Will it change the behavior of other extensions without their knowledge? Is that a good idea? Paul