Thread Closed

how to convert from hex to dec ?

 
Share Thread Thread Tools
Jul29-06, 05:29 PM   #1
 

how to convert from hex to dec ?


edited..thanks for your help
 
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
Jul29-06, 06:19 PM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
First, note that hexadecimal has 16 symbols (0-9, followed by 'A,' equal to decimal 10, through 'F,' equal to decimal 15).

The first digit on the right is the one's place. Take whatever number is in that position, and multiply it by one.

The next digit, second from the right, is the sixteen's place. Take whatever numer is that position, and multiply it by 16.

The next digit, thrid from the right, is the 256's place. (256 = 16^2.) Take whatever number is in that position, and multiply it by 16.

The next digit, fourth from the right, is the 4096's place (4096 = 16^3.) Take whatever number is in that position, and multiply it by 4096.

Add the result of all those multiplications, and you have the number in decimal.

- Warren
 
Jul29-06, 06:40 PM   #3
 
here what i have for Hex 30500000 => Dec = 1052672

(16^3 + 16^5= 1052672)

my result seem doesn't right !

I confuse, would you give a example by number instead by words? Don't need to be exacted those hex number above, any number would fine with me, i will follow from there and try to undestand. Again thanks for your explaination.
 
Jul29-06, 06:46 PM   #4
 

how to convert from hex to dec ?


nevermind, i think i got it

here what i did 0x1 + 0x16 +0x(16^2) + 0x(16^3) +0x(16^4) +5x(16^5) +0x(16^6) +3x(16^7) =810549248

the result matchs with the calculator. thanks :)
 
Jul29-06, 06:47 PM   #5
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Quote by tinhnho
here what i have for Hex 30500000 => Dec = 1052672

(16^3 + 16^5= 1052672)

my result seem doesn't right !

I confuse, would you give a example by number instead by words? Don't need to be exacted those hex number above, any number would fine with me, i will follow from there and try to undestand. Again thanks for your explaination.
The answer should be:

0 + 0*162 + 0*163 + 0*164 + 0*165 + 5*166 + 0*167 + 3*168 = 12968787968
 
Jul29-06, 06:50 PM   #6
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Oops I lost a digit disregard my last post.
 
Jan7-10, 04:46 AM   #7
 
Hi guys,
In case you want to double check your results, use this hex to dec converter
Hope this can help
David
 
Thread Closed
Thread Tools


Similar Threads for: how to convert from hex to dec ?
Thread Forum Replies
how to convert DC to AC?? Electrical Engineering 22
Convert mol/L to kg/m3 Classical Physics 3
How to convert C-12 / C-13 to C-1 High Energy, Nuclear, Particle Physics 31
How to convert? Computing & Technology 2
How do i convert...? Classical Physics 7