View Single Post
Old Jul 8th, 2007, 9:19 PM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,009
Rep Power: 5 lectricpharaoh will become famous soon enough
It's just the next higher digit rolling over. If you have the number 19 in decimal, and you add one, you get 20; because you 'wrapped' the 'ones' digit, the 'tens' digit increases.

Same with hexadecimal. The only difference is that each digit has 16 possible values (0, 1, 2 ... D, E, F), rather than only ten. You still must increment the next higher place when one wraps from F to 0.

I suggest you read up on different based numbering systems. In programming, decimal (base-10), binary (base-2), hexadecimal (base-16) and to some extent octal (base-8) are the ones you need to be familiar with.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote