Decimal
| Binary
|
base 10
| base 2
|
10 digits: 0,1,2,3,4,5,6,7,8,9
| 2 digits: 0,1
|
columns/positions' weights are the powers of 10:
| columns/positions' weights are the powers of 2:
|
... 104, 103, 102, 101, 100
| ... 27, 26, 25, 24, 23, 21, 20
|
...10000, 1000, 100, 10, 1
| ... 128, 64, 32, 16, 8, 4, 2, 1
|
Examples
|
7306=
| 1101011=
|
7 1000's, 3 hundreds, no tens, 6 ones
|
|
7*1000 + 3*100 + 0*10 + 6*1
| 1*64 + 1*32 + 0*16 + 1*8 + 0*4 + 1*2 + 1*1
|
| the 64, the 32, the 8, the 2, the 1
|