From: Yohanes Santoso Date: 2004-10-29T18:23:00+09:00 Subject: Re: Rounding error, (100.0 * 9.95).to_i == 994 Guillaume Marcais writes: > x = 0.99999... (infinite serie of 9s) > 10*x = 9.99999... > 10*x - x = 9*x = 9 > So x = 1! http://www.math.fau.edu/Richman/html/999.htm YS. -- http://microjet.ath.cx