Kamis, 14 September 2023

Convert Decimal to Hexadecimal

As with binary and octal, we will use the same calculation technique.

Example 1:

6710 = …….16 ?

  • First of all 67/16 = 4, remainder 3
  • Then 4/16 = 0, remainder 4,
  • Thus from the calculation results obtained 6710 = 4316

 

Example 2:

9210 = ………………………16 ?

  • First 92/16 = 5, remainder 12 (written C)
  • Then 5/16 = 0, remainder 5,
  • Thus from the calculation results obtained 9210 = 5C16

Tidak ada komentar:

Posting Komentar