Information Technology Reference
In-Depth Information
Hexadecimal Numbers
The decimal numeric system that is commonly used has 10 numeric digits, 0 through 9. After
9, you use 2 digits starting at 10 and then cycle the right-most digits from 0 through 9 again.
The hexadecimal numeric system follows this same concept, but instead of 10 digits, there are
16 digits. Table 2-1 shows the hexadecimal digits and their decimal equivalent.
Hexadecimal Digits
Table 2-1
Hexadecimal Digits
Decimal Value
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
A
10
B
11
C
12
D
13
E
14
F
15
10
16
Hexadecimal Representation
It is common to represent a hexadecimal number with 0x before the number so that it is not
confused with a decimal number. The hexadecimal number of decimal 16 is written as 0x10,
not 10. Another method is to use an h subscript to the right of the number, such as 10 h . It is also
common to use the term hex when speaking of hexadecimal. You will use hex in much of the
text that follows.
 
Search WWH ::




Custom Search