Q&A
Ask and answer questions to make information more available to wider audiences.
Alex McGahan @lex_mcgahan1   17, Mar 2023 12:00 AM
decimal to binary
How can I convert a decimal number to binary?
answers 1
 
Answer 1
Jacob Aanenson @jacobaanenson   20, Mar 2023 03:14 PM
For converting any decimal number to binary, we divide the given decimal number recursively by 2. Then, the remainders are noted down till we get 0 as the final quotient. After this step, these remainders are written in reverse order to get the binary value of the given decimal number.