Example:
679
6 is in hundreds position (600)
7 is in tens position (70)
9 is in ones position (9)
679
^^^
|||
|||
||+--- value at 1: 9 x 1 = 9
|+---- value at 10: 7 x 10 = 70
+----- value at 100: 6 x 100 = 600 +
--------
represented value = 679
Example 1:
1011
^^^^
||||
|||+-- value at 1: 1 x 1 = 1
||+--- value at 2: 1 x 2 = 2
|+---- value at 4: 0 x 4 = 0
+----- value at 8: 1 x 8 = 8 +
--------
represented value = 11 (decimal)
Example 2:
11001
^^^^^
|||||
||||+-- value at 1: 1 x 1 = 1
|||+--- value at 2: 0 x 2 = 0
||+---- value at 4: 0 x 4 = 0
|+----- value at 8: 1 x 8 = 8
+------ value at 16: 1 x 16 = 16 +
--------
represented value = 25 (decimal)