Divide the decimal number by 16. Treat the division as an integer division.
Write down the remainder (in hexadecimal).
Divide the result again by 16. Treat the division as an integer division.
Repeat step 2 and 3 until result is 0.
The hex value is the digit sequence of the remainders from the last to first.
Note: a remainder in this topic refers to the left over value after performing an integer division.
Inteligence uses cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy policy
Answer ( 1 )
Steps:
Divide the decimal number by 16. Treat the division as an integer division.
Write down the remainder (in hexadecimal).
Divide the result again by 16. Treat the division as an integer division.
Repeat step 2 and 3 until result is 0.
The hex value is the digit sequence of the remainders from the last to first.
Note: a remainder in this topic refers to the left over value after performing an integer division.