How to convert
For converting hex number to decimal, multiply each digit by 16n, where n is the position of the digit from the right, starting at 0. Then sum up the results of each multiplication.
Letters in hexadecimal number represent the following numbers:
A | B | C | D | E | F |
10 | 11 | 12 | 13 | 14 | 15 |
abc16 = (a×162 + b×161 + c×160)10
5A16 = (5*161 + 10*160)10 = 9010