We have the binary number 10000101. 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 10000101, we see there are six binary 1 presents and those bits weighted values are 128, 4 and 1. At last, sum those weighted values and we get the decimal number. The detail calculations are the followings:
128
4
+ 1
-------------
233
Binary number: 1000010
Decimal number: 133
No comments:
Post a Comment