answersLogoWhite

0

"Binary decimal" is a contradiction in terms. Decimal has a base of 10, binary a base of 2 and hexadecimal a base of 16.

The way I would do it is:

If you have a value in binary then convert this to a decimal value. Then convert it to hexadecimal remembering that the number will now be comprised by the following (where x represents the digit):

The first digit (from right to left) will equal x * 160, the next will equal x * 161 and so forth...

An example:

So in binary 11111 = (1 * 20) + (1 * 21) + (1 * 22) + (1 * 23) + (1 * 24) = 1 + 2 + 4 + 8 + 16 = 31 (in decimal).

To write this in hexadecimal, 31 would be (15 * 160) + (1 * 161) = 1F

Note: A tip - If you are using a Windows operating system, then if you go to the Start menu and choose search/run and type in "calc" or "calculator" then you will get a virtual calculator to use. If you choose "programmer" from the View menu and then choose the "Bin" button and type in a binary value and then choose the "Hex" button then the binary value will be converted to hexadecimal. (The above certainly applies for Windows 7).

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

Earn +20 pts
Q: How do you convert binary decimal values into hexadecimal value?
Write your answer...
Submit
Still have questions?
magnify glass
imp