Converting between Denary and Hexadecimal Flashcards
How do you calculate Hexadecimal?
EG: Decimal 217 to Hexadecimal = D9
Here’s why:
217 divided by 16: as there are only 16 values.. which are 0, 1, 2, 3.. so on; but when you get it 10, it is A, B, C, D, E and F.
You put this value into binary which is 11011001. Put this value into nibbles on both sides, which is 8, 4, 2 and 1. Multiply these values
128 64 32 16 8 4 2 1
1 1 0 1 1 0 0 1
8 4 2 1
8 x 1 = 8 8 x 1 = 8
4 x 1 = 4
1 x 1 = 1 1 x 1 = 1
13 + 9 = 22 = IN HEXADECIMAL : D9