posted 23 years ago
remember the folln table:
DecimalBinaryOctalHexadecimal
00000000
10000111
20001022
30001133
40010044
50010155
60011066
70011177
801000108
901001119
100101012A
110101113B
120110014C
130110115D
140111016E
150111117F
16100002010
����
����
����
Conversion of hex to dec:
your example: 0xFEB8
F*(16^3)+ E*(16^2) + B*(16^1) + 8*(10^0)
lookup of hex values F,E,B in above table
yields 17,16 and 11 resp.
substituting,
17*(16^3)+ 16*(16^2) + 11*(16^1) + 8*(10^0)
answer:65208
HTH,
chetan