Home> Common Problem> body text

What is the conversion of 1011 from binary to decimal?

Release: 2020-05-08 15:20:05
Original
39513 people have browsed it

What is the conversion of 1011 from binary to decimal?

The binary number 1011 is converted to decimal 11, and the algorithm is 1011B=2^3 2^1 2^0=8 2 1=11.

The rule for converting binary numbers into decimal numbers is: expand the binary numbers in the form of polynomial sums in bit-weighted form, and find the final sum, which is the corresponding decimal number - referred to as "sum by weights" ".

For example: Convert (1001.01)2 to decimal number.

Solution: (1001.01) 2 =1×(2 to the 3rd power) 0×(2 to the 2nd power) 0×(2 to the 1st power) 1×(2 to the 0th power) 0 ×(2 to the power of -1) 1×(2 to the power of -2) =8 0 0 1 0.5 0.25 =9.75.

The above is the detailed content of What is the conversion of 1011 from binary to decimal?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!