Custom Search
|
|
Decimal to Hex To convert a decimal number to base 16, follow the repeated division procedures you used to convert to binary and octal, only divide by 16. Let's look at an example: Convert 6310 to hex:
Therefore, the hex equivalent of 6310 is 3F16. You have to remember that the remainder is in base 10 and must be converted to hex if it exceeds 9. Let's work through another example: Convert 17410 to hex:
Write the solution from MSD to LSD: AE16 There will probably be very few times when you will have to convert a decimal fraction to a hex fraction. If the occasion should arise, the conversion is done in the same manner as binary or octal. Use the following example as a pattern: Convert 0.69510 to hex:
The solution: .B1EB16 Should you have the need to convert a decimal mixed number to hex, convert the whole number and the fraction separately; then recombine for the solution. Convert the following decimal numbers to hex: Q.60 4210. |