Hello,
Just wondering if anyone can help me out here.. I am trying to convert a HEX number to an item..
Here is my list:
1 = 0100
2 = 0200
3 = 0400
4 = 0800
5 = 1000
6 = 2000
7 = 4000
8 = 8000
9 = 0001
10 = 0002
11 = 0004
12 = 0008
13 = 0010
14 = 0020
15 = 0040
16 = 0080
The part I can't work out is to match the HEX number to the numbers
Lets say I have a number 40 (HEX) that would mean I have to show 7.
But if I have a number C0 (HEX) that would mean I have to show 7 & 8.
Anyone able to help as I can't work it out?
Just wondering if anyone can help me out here.. I am trying to convert a HEX number to an item..
Here is my list:
1 = 0100
2 = 0200
3 = 0400
4 = 0800
5 = 1000
6 = 2000
7 = 4000
8 = 8000
9 = 0001
10 = 0002
11 = 0004
12 = 0008
13 = 0010
14 = 0020
15 = 0040
16 = 0080
The part I can't work out is to match the HEX number to the numbers
Lets say I have a number 40 (HEX) that would mean I have to show 7.
But if I have a number C0 (HEX) that would mean I have to show 7 & 8.
Anyone able to help as I can't work it out?