You see this is a mathematic problem at first, actually it is a philosophic problem. Then we can resolve it. Because math is a incomplete theory, only philosophy could be a complete one. The answer is that 0.999... is not equal to 1. Because of these reasons:
1. The infinite world and finite world.