Convert binary numbers to decimal.
101010 (binary) in decimal =
42
Each binary digit doubles in value from right to left. 101010 = 32 + 8 + 2 = 42.