We have the binary number 11110110. Now, we have to convert this binary number to decimal number. To do this, we will follow the tutorial Binary to Decimal Conversion to convert this binary number to decimal number.
So, firstly we have to mark those bits where binary 1 is present and then write those weighted values. And finally we have to add those weighted values to get the final decimal value of that binary number.
In our binary number 11110110, we see there are six binary 1 presents and those bits weighted values are 128, 64, 32, 16,4 and 2. At last, sum those weighted values and we get the decimal number. The detail calculations are the followings:
128
64
32
16
4
+ 2
-------------
246
Binary number: 11110110
Decimal number: 246
No comments:
Post a Comment