.999... Has been proven countless amounts of times to equal 1. Endless amounts of mathematicians have gone to prove this. No, it doesn't equal one, and no, nobody's ever proved that. It is, in a sense, infinitely close to one, but it does not equal one. This very significant difference is the cause of all your problems it seems to me.