|
So let's break it even further then Hex first. Let's try binary: so let's say we want the number 10 in binary, it will be 1010, and that is broken down like this 1 * 2^3 + 0 * 2^2 + 1 * 2^1 + 0 * 2^0 = 10. And if you notice that binary is written in base 2. Now hex is similar to binary. Hex is base 16, and goes from 0 to F (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). And a neat thing is that 4 bits of a binary number represent a Hex value, so let's say we want 10 in hex (base 16) it will be xA (x denotes it as a hex value). So let's say we have xA8 which is 1010 1000 in binary and is 168 in decimal (base 10 form). I hope this helps. There are a ton of resource online if you want to learn more (I think wikipedia has a good page on both binary and hex numbers).
|