Home >Common Problem >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!