answersLogoWhite

0

You repetitively divide the number by two, taking the remainder as the digit (in binary). When you divide by 2, the remainder will either be 0 or 1.

Example: convert 23 (base 10) to binary:

23/2 = 11, remainder 1 (this is the ones digit)

11/2 = 5, remainder 1 (this is the twos digit)

5/2 = 2, remainder 1, (this is the fours digit)

2/1 = 1, remainder 0, (this is the eights digit)

1/2 = 0, remainder 1, (this is the sixteens digit). So now combine the digits (sixteens is the highest digit in this number):

23 (base 10) = 10111 (base 2)

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
More answers

80

User Avatar

Anonymous

4y ago
User Avatar

Add your answer:

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