الأربعاء، 24 يناير 2018

Binary to Decimal

for example, converting a Binary to Decimal number would be:
Decimal Digit Value256128  64      32  16   8421
Binary Digit Value101100101
By adding together ALL the decimal number values from right to left at the positions that are represented by a “1” gives us:  (256) + (64) + (32) + (4) + (1) = 35710 or three hundred and fifty seven as a decimal number.
Then, we can convert binary to decimal by finding the decimal equivalent of the binary array of digits 1011001012 and expanding the binary digits into a series with a base of  2 n giving an equivalent of 35710 in decimal.