From: Hal Fulton Date: 2004-10-28T05:40:27+09:00 Subject: Re: Rounding error, (100.0 * 9.95).to_i == 994 David G. Andersen wrote: > The problem in this case isn't actually in the storage > of 9.95 or 995 in floating point; it comes in when you do the > multiplication. I'm not sure it's *just* in the multiplication... 0.95 can't be stored exactly in binary, can it? Hal