To change a number (less than 65,536) from decimal to hexadecimal :
1) Input decimal number
2) LOOP
3) Divide by largest of these factors : 4,096 ; 256 ; 16 ; 1 that will go into number at least once
4) Put down answer, remembering that 10 = A, 11 = B, 12= C, 13 = D, 14 = E and 15 = F in Hex
5) write digit answer to right of last digit found
6) Subtract (digit * factor) from last answer
7) while remainder > 0 goto 2
8) End
Putting 410 through this will result in :
410 / 256 = 1 remainder 154 : first dgit is 1
154 / 16 = 9 remainder 10 : second digit is 9
10 / 1 = 10, no remainder : last digit is A
So 410 = 19A in hex.
2007-12-10 13:39:55
·
answer #1
·
answered by Don E Knows 6
·
0⤊
0⤋
Chuckle, I think anyone that doesn't know hexadecimal is base 16 isn't going to be able to help you.
The way I like to do it is change to binary first then flip to hex. But you can go straight to hex easy enough too.
Straight to Hex:
Divide 410/16 =25 remainder 10=A
Divide 25/16 = 1 remainder 9
Divide 1/16 = 0 remainder 1
Answer: 19A
Binary first:
410/2=205 remainder 0
205/2=102 remainder 1
102/2= 51 remainder 0
51/2=25 remainder 1
25/2=12 remainder 1
12/2=6 remainder 0
6/2 =3 remainder 0
3/2=1 remainder 1
1/2=0 remainder 1
Binary number = 110011010
Divide this into sections of 4 starting from the right.
0001 1001 1010
0001=1
1001= 9
1010=10=A
19A
Lot's of fun.
2007-12-10 13:27:13
·
answer #2
·
answered by zenock 4
·
0⤊
0⤋
Divide by 16, put the remainder in the far right.
410/16=25, remainder 10, or a in hex.
Divide 25 by 16 and put the remainder to the left of the first remainder.
25/16 = 1, remainder 9, so the answer is 19a because the next remainder will be 1.
As soon as you get a quotient less that the divisor, that will be the last number on the left.
2007-12-10 13:21:40
·
answer #3
·
answered by Tom 6
·
0⤊
0⤋
Assuming you are using Windows XP, go open the calculator on your computer (start menu > all programs, accessories >calculator). Go to view, then change the mode to "scientific". Then key in the number "410" into the rectangular box. On the top left you should see a button for "Hex". Check that button. Now you get it converted!
2007-12-10 13:20:41
·
answer #4
·
answered by Zi Yang 2
·
0⤊
0⤋
Hex:
1,2,3,4,5,6,7,8,9,
10=A,11=B,12=C,13=D,14=E,15=F
(410)BASE 10 = (19A) Hex = 1x16^2+9x16+10
2007-12-10 13:40:04
·
answer #5
·
answered by iceman 7
·
0⤊
0⤋