Home>Article> What is the binary number 10110101 converted to decimal number?

What is the binary number 10110101 converted to decimal number?

尚
Original
2020-03-07 14:02:05 27450browse

What is the binary number 10110101 converted to decimal number?

(10110101)B=1*2^7 1*2^5 1*2^4 1*2^2 1*2^0=181(D) .

Number system, also called counting system, refers to a method that uses the same set of fixed characters and unified rules to represent numerical values.

Decimal (in natural language) is usually represented by 0 to 9, binary (in computers) is represented by 0 and 1, octal is represented by 0 to 7, and hexadecimal is represented by 0 to F.

(1) Convert decimal integer to binary (octal, hexadecimal), conversion method: divide the decimal remainder by the binary (octal, hexadecimal) number, the remainder obtained for the first time is the lowest The last remaining remainder is the most significant digit.

(2) Convert binary (eight, hexadecimal) integers into decimal integers. Conversion method: Expand the binary (eight, hexadecimal) integers according to weights, and calculate the cumulative sum to get the corresponding Decimal.

(3) Conversion between binary and octal or hexadecimal numbers Conversion method between binary and octal: 3-digit binary can be converted into 1-digit octal, and 1-digit octal can be converted into 3-digit Binary number.

Conversion method between binary numbers and hexadecimal numbers: 4-digit binary numbers can be converted into 1-digit hexadecimal numbers, and 1-digit hexadecimal numbers can be converted into 4-digit binary numbers.

The above is the detailed content of What is the binary number 10110101 converted to decimal 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