|  | 6.2 | Hexadecimal Numbers
| 6.2.3 | Converting decimal numbers to hexadecimal numbers

As with binary numbers, converting from decimal to hex is done with a system called the remainder method. In this method we repeatedly divide the decimal number by the base number (in this case 16). We then convert the remainder each time into a hex number.

Example:
Convert the decimal number 24032 to hex.

24032/16 | = | 1502, with a remainder of 0
1502/16 | = | 93, with a remainder of 14 or E
93/16 | = | 5, with a remainder of 13 or D
5/16 | = | 0, with a remainder of 5

By collecting all the remainders backward, you have the hex number 5DE0.