Converting Decimal & Hexadecimal Flashcards
All 3 cards in this deck
What is the largest decimal number that can be written as a 2-digit hexadecimal number?
255, written as FF.
What are the steps to convert a decimal number to 2-digit hexadecimal?
e.g. convert 60- Divide by 16: remainder 12.
- The whole number is the first hex digit: 3.
- The remainder as a hex digit is the second: 12 = C, giving 3C.
What are the steps to convert a 2-digit hexadecimal number to decimal?
e.g. convert 2A- Multiply the first digit by 16: .
- Find the value of the second digit: A = 10.
- Add them: .