I am trying to convert 0.4 from base 10 to base 2. This is what I did:
0.4 * 2 = 0.8
0.8 * 2 = 1.6
0.6 * 2 = 1.2
0.2 * 2 = 0.4
0.4 * 2 = 0.8
0.8 * 2 = 1.6
Because 0.8 and 1.6 are repeated, I stop right here, and "0110" is what I got. But, 0.0110 is 0.375 in base 2, not 0.4. So obviously, I did something wrong, can anyone point out where the error is?