From: Chad Perrin Date: 2007-03-31T01:04:12+09:00 Subject: Re: same operation (sort of), different results On Fri, Mar 30, 2007 at 03:10:48PM +0900, John Joyce wrote: > Yep, you can do integer division but do it last for best results. > you can also throw a .to_f method onto everything for your division.. > The only way around real division errors is to use large integers, > keep track of decimal location in your own custom object for display > purposes and thus push the division error way way down to a small, > insignificant number. Thanks. I knew all this -- I just managed to completely forget everything of use yesterday (the first day after a debilitating migraine took me out of action for most of the day). Apparently, I became temporarily very stupid as an after-effect. Unfortunately, some of the evidence of this made it to the ruby-talk mailing list. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "A script is what you give the actors. A program is what you give the audience." - Larry Wall