The decimal number 35 is converted into a binary number 100011.
Calculation method:
35/2=17余1 17/2=8余1 8/2=4余0 4/2=2余0 2/2=1余0 1/2=0余1
The reciprocal of the remainder is the result 100011.
Convert decimal to other bases:
1. The general method to convert decimal to any base is: divide by X and take the remainder inverted method (X represents base number).
2. Convert decimal to binary first and then to octal or hexadecimal.
Related recommendations:Decimal to binary formula
The above is the detailed content of Convert decimal number 35 to binary number. For more information, please follow other related articles on the PHP Chinese website!