Binary to Decimal conversion
Any binary number can be converted into its equivalent decimal number using the weights assigned to each bit position.
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