Friday, February 23, 2007

Binary to decimal

To convert 11001010 to a decimal number you need to align 11001010 with the powers of two starting at the right side. Always start on the right side and start with 2^0 and move upwards.

Example:

2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0
1 1 0 0 1 0 1 0

After this you need to figure out the total of the numbers with a 1 under them, add all of these together.

128+64+8+2 You get 202.

No comments: