conversion method.txt

2
Your HEX values are all wrong ... Dunno what 'math' you used but ... D0.E2.B5.C8 = 208.226.181.200 OldER Mycroft 1st Oct 2009 ReplyFavorite Replies For the decimal version 144.162.57.93 I get 90.A2.39.5D in hex. The binary he li sted appears correct to me. To translate from decimal to hex, you need to know t he place values for your numbers. In decimal 1's, 10's, 100's, etc. Binary is 1' s, 2's, 4's, 8's, etc. For hex it goes 1's, 16's, 256's, 4096's, etc. Each colum n gets multiplied by 16. So to convert the decimal number 144, you would follow these steps. Look for the place value that is the highest without going over you r decimal value. In this case it would be the 16's column since the next option of 256 is greater than 144. Divide your decimal value by your place value. 144/1 6=9 with no remainder. So you would list 9 under the 16's column and 0 in the 1' s column. Your first octet translates to 90 in hex. 162/16=10 with a remainder o f 2. In hexidecimal 10=A so you would list A in your 16's column and 2 in your 1 's column. 57/16=3r9, so the third octet is 39. 93/16=5r13; 13 translates to D. So your final octet is 5D. Hope this little lesson helps. [email protected] Oct 2009 Which gets easier (a lot easier) when produced using mental arithmetic. You don't (not meaning you tmalo627) need a scientific calculator to convert to and from HEX, you just need to be able to Factorise in your head. It's a bit like folk in UK shops that need to use a calculator to work out VAT @  17.5% on a Sales Price. By the time they've scrabbled around looking for the ca lculator I know the answer. 17.5% of anything is 10% + 5%(0.5 of the last amount) + 2.5%(0.5 of the last amo unt). So if you can move a decimal point one space to the left and can divide by  2, you're done. With HEX, if you can divide by 10 and are capable of counting up to 6, and know the alphabet from A to F, you're done. OldER Mycroft2nd Oct 2009 Where do you get the 16 from again? jtfutbal11th Oct 2009 ?? OldER Mycroft11th Oct 2009 ....while you still have your sanity... [email protected] Oct 2009 losing that is when you work on a computer that you fix one and the problem and which causes another. and its a combinations between hardware and software issue s and ATI trying to make a few extra buck. five hours later you just give up. jtfutbal21st Oct 2009 Then asked where the 16 came from! That's not losing sanity - that total insanity. OldER Mycroft21st Oct 2009 0 +- Use Windows Calculator Yeah looks like you may have made a mistake. Use the Windows calculator access the view menu and change view to scientific. T his allows hex conversions. LowRyda Updated - 1st Oct 2009 ReplyFavorite 0 +-

Transcript of conversion method.txt

Page 1: conversion method.txt

8/14/2019 conversion method.txt

http://slidepdf.com/reader/full/conversion-methodtxt 1/2

Your HEX values are all wrong ...Dunno what 'math' you used but ...

D0.E2.B5.C8 = 208.226.181.200OldER Mycroft 1st Oct 2009 ReplyFavoriteRepliesFor the decimal version 144.162.57.93 I get 90.A2.39.5D in hex. The binary he listed appears correct to me. To translate from decimal to hex, you need to know the place values for your numbers. In decimal 1's, 10's, 100's, etc. Binary is 1's, 2's, 4's, 8's, etc. For hex it goes 1's, 16's, 256's, 4096's, etc. Each column gets multiplied by 16. So to convert the decimal number 144, you would followthese steps. Look for the place value that is the highest without going over your decimal value. In this case it would be the 16's column since the next optionof 256 is greater than 144. Divide your decimal value by your place value. 144/16=9 with no remainder. So you would list 9 under the 16's column and 0 in the 1's column. Your first octet translates to 90 in hex. 162/16=10 with a remainder of 2. In hexidecimal 10=A so you would list A in your 16's column and 2 in your 1's column. 57/16=3r9, so the third octet is 39. 93/16=5r13; 13 translates to D.So your final octet is 5D. Hope this little lesson [email protected] Oct 2009Which gets easier (a lot easier) when produced using mental arithmetic.

You don't (not meaning you tmalo627) need a scientific calculator to convert toand from HEX, you just need to be able to Factorise in your head.

It's a bit like folk in UK shops that need to use a calculator to work out VAT @ 17.5% on a Sales Price. By the time they've scrabbled around looking for the calculator I know the answer.

17.5% of anything is 10% + 5%(0.5 of the last amount) + 2.5%(0.5 of the last amount). So if you can move a decimal point one space to the left and can divide by 2, you're done.

With HEX, if you can divide by 10 and are capable of counting up to 6, and knowthe alphabet from A to F, you're done.OldER Mycroft2nd Oct 2009Where do you get the 16 from again?

jtfutbal11th Oct 2009??OldER Mycroft11th Oct 2009....while you still have your [email protected] Oct 2009losing that is when you work on a computer that you fix one and the problem andwhich causes another. and its a combinations between hardware and software issues and ATI trying to make a few extra buck. five hours later you just give up.jtfutbal21st Oct 2009Then asked where the 16 came from!

That's not losing sanity - that total insanity.OldER Mycroft21st Oct 2009

0+-Use Windows CalculatorYeah looks like you may have made a mistake.

Use the Windows calculator access the view menu and change view to scientific. This allows hex conversions.LowRyda Updated - 1st Oct 2009 ReplyFavorite0+-

Page 2: conversion method.txt

8/14/2019 conversion method.txt

http://slidepdf.com/reader/full/conversion-methodtxt 2/2

Your hex is wrongI did the math and came out with 90.A2.39.5D.

To convert back to binary, all you have to do is remember that each digit/letter represents a half of the representative octet in the IP address. That means 4 bytes and a decimal 16. Because you only have a single character to work with, each hex number is represented by 0-9 and A-F (A=10, B=11 etc;)

Your hex of 90.A2.39.5D converts thus

First Octet - 9=1001, 0=0000 (10010000)Second Octet -A=1010, 2=0010 (10100010)Third Octet - 3=0011, 9=1001 (00111001)Forth Octet - 5=0101, D=1101 (01011101)

Hope this helps!