|
|
LAST UPDATE: MARCH, 10. 1997 | C H A P T E R 5.49 - GLOSSARY - HEXADCEIMAL |
|
Explanation: This is a special calculation System used in computers. The normal calculation system is based on the number 10. That means, that the number 123 could be written as 1 x 102 + 2 x 10 1 + 3 x 100 The hexadecimal system is based on the number 16 rather than on 10. A small example will demonstrate: We want to convert the numer 10255 from the decimal system into the hexadezimal Syste. This is done by dividing the number by 16. The rest of the division is a digit in the hexadezimal number. Numbers from 10 to 15 are substituded by A, B, C, D, E, F. So much theory.
10255 : 16 = 640 - Rest: 15 Now the Rest of each division is taken for the new number (bottom up). Rest 15 is replaced by F. The corresponding hexadezimal umber is: 280F To convert it back into decimal System, do the following: 2 x 163 + 8 x 162 + 0 x 161 + 15 (=F) x 160 Voila: 10255 |