- Jan 21, 2005
- 17,722
- 6
- 81
I can figure out how to convert decimal to binary using mathmatical calculations, but for some reason I can't figure out how to work backwards.
123 is 1111011 in binary.
1 means it has a remainder, 0 means it doesn't (I'm sure you would have figured this out.)
123 / 2 = 1
61 / 2 = 1
30 / 2 = 0
15 / 2 = 1
7 / 2 = 1
3 / 2 = 1
1 / 2 = 1
So how do I work this backwards?
123 is 1111011 in binary.
1 means it has a remainder, 0 means it doesn't (I'm sure you would have figured this out.)
123 / 2 = 1
61 / 2 = 1
30 / 2 = 0
15 / 2 = 1
7 / 2 = 1
3 / 2 = 1
1 / 2 = 1
So how do I work this backwards?