HEXADECIMAL-DECIMAL INTEGER CONVERSION
The
table
below
provides for
direct
conversions
between
hexa-
decimal
integers in the range
O-FFF
and
decimal
integers in
the range
0-4095.
For
conversion
of
larger integers, the
table values
may
be added ta the fallawÎng ligures:
Hexadecimal
C'I
000
02000
03000
04000
05000
06
000
07000
08000
09000
OA
000
OB
000
OC
000
OD
000
OE
000
OF
000
10000
11
000
12000
13000
14000
15000
16000
17000
18000
19000
lA 000
lB
000
1C
000
ID
000
lE
000
IF
000
Decimal
4096
8192
12288
16384
20480
24576
28672
32768
36864
40960
45056
49152
53248
57344
61440
65536
69632
73728
77 824
81
920
86
016
90
112
94208
98304
102400
106
496
110592
114688
118784
122
880
126
976
Hexadecimal
20000
30000
40000
50000
60000
70000
80000
90000
AO
000
BO
000
CO
000
DO
000
EO
000
FO
000
100000
200000
300000
400000
500000
600000
700000
800000
900000
AOO
000
BOO
000
COO
000
DOO
000
EOO
000
FOO
000
1
000000
2000000
Decimal
131072
196608
262
144
327680
393 216
458752
524
288
589824
655360
720896
786 432
851
968
917504
983040
1
048576
2097
152
3
145
728
4194304
5
242
880
6
291
456
7340032
8388608
9437184
10485760
11
534336
12582912
13631 488
14680064
15
728 640
·16777 216
33554432
Hexadecimal
fractions mey be
converted
ta decimal fractions
as follows:
1.
Express the
hexodecimal
fraction
as
on integer fimes
16-n, where n
i5
the number
of
significant hexadecimal
pluces ta the right of the hexadeclmal point.
O.
CA98F3
16
=
CA98F3
16
x 16-
6
2. Find the decimol equivolellt of the hexodecimol integer
CA98F3
16
=
13278195
10
3. Mulliply the decimal equivalent by
16-
n
13278195
x 596 046 448 x 10-
16
0.791
442096
10
Decimal
fractions
mey
be
converted
ta
hexadecimal
fractions
by
successively
multiplying
the decimol fraction
by
16
10
,
After
eoch
multiplication,
the integer portion
is
removea
to
form
a hexadecimal fraction
by
building
to
the right of the
hexadecimal point. However, since decimal orithmetic
is
used
in this conversion, the integer portion of eoch product
must
be
converted
to
hexodecimol numbers.
Example: Canverl 0.89510 ta
Its
hexadeclmal equivalent
0.895
F=
~
~
~
~
0.E51
E
16
d1p1~
0 1 2 3 4
5 6
7 8 9
A 8
C
D E
F
00
0000
(){JO
1
0002 0003 0004 0005
0006
0007 0008
0009
0010
0011
0012 0013
0014
0015
01
0016 0017
0018 0019
0020 002\ 0022 0023 0024 0025 0026 0027
0028 0029
0030
0031
02
0032 0033
0034 0035 0036 0037 0038 0039
0040
0041
0042 0043
0044 0045
0046
0047
03
0048
0049
0050
0051
0052
0053
0054
0055 0056
0057 0058 0059 0060
0061
0062 0063
04
0064 0065 0066
0067
0068 0069 0070
0071
0072
0073 0074 0075 0076
0077
0078 0079
05
0080
0081
0082 0083 0084 0085
0086
0087 0088
0089
0090
0091
0092 0093
0(\94
0095
06 0096 0097 0098 0099
0100
0101
0102 0103 0104
0105 0106 0107 0108 0109
0110
0111
07 0112
0113 0114 0115 0116 0117
0118 0119 0120
0121
0122 0123
0124 0125 0126 0127
08
0128 0129
0130
0131
0132 0133
0134 0135
0136 0137 0138
0139 0140
0141
0142 0143
09 0144 0145 0146 0147 0148
0149 0150
0151
0152 0153 0154
0155 0156
0157 0158 0159
OA
0160
0161
0162 0163 0164
0165 0166 0167 0168
0169 0170
0171
0\72
0173
0174 0175
08 0176 0177 0178 0179
0\80
0181
0182 0183 0184
0185 0186 0187 0188
0189 0190
0191
OC
0192 0193 0194 0195 0196 0197 0198 0199 0200
0201
0202 0203
0204 0205 0206 0207
OD
0208
0209 0210
0211
0212 0213 0214 0215
0216 0217
0218 0219 0220 022\ 0222 0223
OE
0224 0225 0226
0227 0228 0229 0230
0231
0232
0233 0234 0235 0236
0237
0238
0239
OF
0240
0241
0242 0243 0244 0245 0246 0247
0248 0249 0250
0251
0252 0253 0254 0255
394