Ask
your own question, for FREE!
Mathematics
20 Online
Please teach me some way on how to convert an integer into binary digit.
Still Need Help?
Join the QuestionCove community and study together with friends!
You should post this in computer science, just suggesting it :)
yas, i already had. thanks.
http://www.vbgold.com/vb-projects/integer-to-binary.shtml Ok not saying the above link is worth it but give it a shot.
The easiest way is to change the decimal number to hex or octal first. for example, 100 decimal in hex : 16*16= 256 is too big. so divide by 16 6 remainder 4 100 decimal = 64 hex now the 6 represents 4 binary bits 0110 and the 4 is 0100 answer 100 decimal = 1100100 binary
If you are doing it by computer, than find the highest power of 2 that divides into the decimal and go from there.
Still Need Help?
Join the QuestionCove community and study together with friends!
thanks.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Puffer:
My life basically all in one poem (aka my sleep habits and endless bordem lol) In the quiet dark, my eyes won't close, A restless mind, it constantly grows.
zanesafoodie:
chat i have a massive migraine rn but i promise try and post ASAP
cullenn:
Would you still love me if I showed you, My cries instead of my smiles? My scream
zanesafoodie:
I'm sitting alone in my room~ the lights off with me trying to do the same to my
cullenn:
heyy i need help w math lol, also theres a few problems i js have to post them on
14 hours ago
0 Replies
0 Medals
1 day ago
0 Replies
0 Medals
1 day ago
12 Replies
4 Medals
23 hours ago
7 Replies
0 Medals
1 day ago
10 Replies
2 Medals