View Single Post
# 6 17-10-2006 , 04:53 PM
Registered User
Join Date: Aug 2004
Posts: 408
To read binary (in byte strings like above even though with Unicode people are moving to 2-byte (16 digit) strings:

Read the leftmost 1 -- find its place value: Example:

00011100 the first one is 1x2^5. 2^5 is 32... which implies 00011111. That's not 00011111, so you keep moving along... oh wait! 0! That's why. The place value of zero is 2^2 -- or 4. So without calculating I can tell that this number is 32-4, or 28.

Keep going righter and righter -- adding wherever there's a 1 after a 0, and subtracting wherever there's a 0 after a one. The real trick is in the last digit.

Or you can always use Windows Calculator in Scientific mode... either way.