Home  >  Article  >  Convert decimal number 35 to binary number

Convert decimal number 35 to binary number

尚
Original
2019-06-11 17:29:5659744browse

Convert decimal number 35 to binary number

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn