From: Volkard Henkel Date: 2004-10-29T03:20:23+09:00 Subject: Re: Rounding error, (100.0 * 9.95).to_i == 994 Hello Guillaume, Thursday, October 28, 2004, 7:40:14 PM, you wrote: > x = 0.99999... (infinite serie of 9s) > 10*x = 9.99999... > 10*x - x = 9*x = 9 > So x = 1! > IIRC, any 'word' that ends with an infinite serie of 9s does not > represent an actual real number. you prooved, that 0.999999...=1 so 0.999999... IS a real number because 1 is one. -- Best regards, Volkard mailto:volkard@normannia.de