Decimal to binary Conversion
To convert a decimal number to binary any one of the followings two methods can be used.
Methods1 : This is very common methods of converting any decimal number to its equivalent binary. In this methods ?( refer ex in which a decimal number 25_{10} is converted into its equivalent binary)
Divide the given decimal by 2
Write the quotient and remainder.
Divide this quotient further by 2 and note the quotient and remainder.
Repeat the processes until quotient reaches0.
The obtained remainders read in the reverse order will give the required binary number.
Decimal to binary Conversion of example
Example : convert 25_{10} Binary.
soluton: