Eccentric Iconoclast
Too late now.
gonk Base 16 is no less viable than base 10, though. And base 10 often gives me as much trouble as base 16.
How
does one convert between the two?
It's quite simple, but takes a good bit of math.
Hexadecimal to Decimal is the easiest... You multiply each place value by its respective multiple of 16. The pattern goes from right to left like so:
<-.../4096/256/16/1
That's just (in reverse order) 16^0, 16^1, 16^2, 16^3 and so on. So for a hex number like C3F...
1) F = 15... 15 x
1 = 15
2) 3 = 3... 3 x
16 = 48
3) C = 12... 12 x
256 = 3072
4) 3072 + 48 + 15 =
3135 Decimal
Decimal to Hex -- what anyone would have to do when speaking Aquenandi -- is a lot harder because you have to divide and take remainders. But luckily you only divide by 16 each time. An example for converting the decimal number 1735 to hex:
1) 1735 / 16 = 108 r
7 (...7)
2) 108 / 16 = 6 r 12... 12 =
C (...C7)
3) 6 / 16 ... Just use
6 (6C7)
4) Tada! Your hex number is
6C7The easiest way to find remainders using a calculator is to use the Modulus (%) operator. It works like the normal division operator, only it returns the whole number Remainder (x/16 in this case) instead of the Quotient with decimal remainder. To really convert hex by calculator, you have to make good use of both, but it can be done by hand if you don't mind long division. If you can't use the modulus operator, then when you divide the main number by 16 and get a decimal fraction (ie 108.4375) just multiply 16 by the decimal remainder (ie 0.4375) and you get the whole number remainder(ie 7).
And thus I have proven, to a certain extent, the severity of my nerdity.