2.6.3 Hexadecimal to Decimal conversion
Hexadecimal numbers can be converted to hexadecimal by the sum-of-weightedhex-
digits method. The conversion step are :
(i) Separate hexadecimal digit
(ii) Conver to decimal.
(iii) Multiply the decimal with the digit weight of hexadecimal.
(iv) Add all multiplication from step (iii).
Example 2-8 Convert hexadecimal number AE3 to decimal.
Hexadecimal number A E 3
Convert to decimal in each digit 10 14 3
Digit weight 256 (162) 16 (161) 1 (160)
Multiplication 2560 224 3
Total addition 2560+224+3 = 2787
The result of conversion is 2787