How to convert
To convert a decimal number to binary, you can use the division-by-2 method. Here's the process:
- Divide the Decimal Number by 2 and Write down the quotient and the remainder
- Record the Remainder: This will be the binary digit (either 0 or 1)
- Repeat the Process: Continue dividing the quotient by 2 until the quotient becomes 0
- Read the Remainders from Bottom to Top: The binary representation is obtained by reading the remainders in reverse order.
Let's convert decimal number 37510 to binary:
375 / 2 = 187 (remainder 1)
187 / 2 = 93 (remainder 1)
93 / 2 = 46 (remainder 1)
46 / 2 = 23 (remainder 0)
23 / 2 = 11 (remainder 1)
11 / 2 = 5 (remainder 1)
5 / 2 = 2 (remainder 1)
2 / 2 = 1 (remainder 0)
1 / 2 = 0 (remainder 1)
Write down the remainders in reverse order: 1011101112