i just started pre-calculus and in the fundamentals it says about rational numbers and how their decimal representation repeat if they are rational. now what happened:

using the windows calculator i divided 1 by 3 i get 0.33... and when i multiplied it by three the answer was 1. i don't get it.

i was expecting 0.99.... to be the answer.

now my question:

how does addition of numbers with repeating decimals like 0.33... work that multiplying it to 3 gives me 1 and not 0.99...