Translate

Wednesday 6 June 2012

Binary to Decimal and Decimal to Binary Conversion


Binary to Decimal conversion
Any binary number can be converted into its equivalent decimal number using the weights assigned to each bit position.

Decimal to Binary conversion
Any decimal number can be converted into its equivalent binary number. For integers, the conversions is obtained by continuous division by 2 and keeping track of the remainders, while for fractional parts, the conversion is affected by continuous multiplication by 2 and keeping track of the integers generated. The conversion process is illustrated by the following examples.


No comments:

Post a Comment