Original Post
Some days ago I discovered something that really shocked me There's this way of converting a number with a periodic part into a fraction for example, if I have 1.2222222222.. A = 1.22222222.. 10 A = 12.2222222.. (subtracting A from both parts) 9 A = 11 A = 11/9 And that's OK. But If I have a number ending with a periodic 9, that's what happens: A = 1.9999999 10 A = 19.999999 9 A = 18 A = 18/9 = 2!!! So 1.999999999.. is mathematically equal to 2! Is that possible? There must be something wrong. Probably in the second line, where I multiply by 10 and just shift the periodic numbers, there is probably some approximation error going on here. Maybe there should be a 0 digit, and not just another 9, infinitely to the right or something like that. Any ideas? p.s. I was posting this in Math & Physics, but I think it's more suited here actually. Edit: little error in first computation :P [Edited by - Arcibald Wearlot on May 26, 2005 4:02:51 PM]