I have been asked to explicitly convert a decimal number to hexadecimal (radix sixteen) number in 1s complement...how the heck is that done?

I can convert to a binary number using 1s compliment...do I just take that and convert to hex after the fact?

Recommended Answers

Not sure I understand the question. Within the computer everything is obviously stored in binary, and it only becomes decimal or hexadecimal when it is output.

Jump to Post

All 2 Replies

Not sure I understand the question. Within the computer everything is obviously stored in binary, and it only becomes decimal or hexadecimal when it is output.

Not sure I understand the question. Within the computer everything is obviously stored in binary, and it only becomes decimal or hexadecimal when it is output.

Now you see my problem...LOL

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.