Information Technology Reference
In-Depth Information
Divide by 16:
13 = D h
16
218
-16
58
-48
10 = A h
Answer: DA h
Conversion Example C-4
Convert 218 to Its Hex Equivalent
Converting Hexadecimal to Decimal
To c o n v e r t a h e x n u m b e r t o d e c i m a l , t a k e t h e r i g h t m o s t d i g i t a n d c o n v e r t i t t o d e c i m a l ( fo r
example, 0xC = 12). Then add this number to the second rightmost digit times 16 and the
third rightmost digit times 256. Do not expect to convert numbers larger than 255 on the
CCDA exam, because the upper limit of IP addresses in dotted-decimal format is 255 (al-
though Token Ring numbers reach 4096). Some examples follow.
1 x 256 = 256
7 x 16 = 112
7 x 1 = 7
375 d
Conversion Example C-5
Convert 177h to Decimal
6 x 16 = 96
0 x 1 = 0
96 d
Conversion Example C-6
Convert 60h to Decimal
1 x 256 = 256
0 x 16 = 0
0 x 1 = 0
256 d
Conversion Example C-7
Convert 100h to Decimal
1 x 256 = 256
13 x 16 = 208
10 x 1 = 10
474 d
Conversion Example C-8
Convert 1DAh to Decimal
Alternative Method for Converting from Hexadecimal to Decimal
lowing sections discuss converting from binary to decimal.
 
Search WWH ::




Custom Search