- #1

- 21

- 0

edited..thanks for your help

Last edited:

- Thread starter tinhnho
- Start date

- #1

- 21

- 0

edited..thanks for your help

Last edited:

- #2

chroot

Staff Emeritus

Science Advisor

Gold Member

- 10,226

- 34

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

- #3

- 21

- 0

(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.

- #4

- 21

- 0

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 :)

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 :)

Last edited:

- #5

jcsd

Science Advisor

Gold Member

- 2,090

- 11

The answer should be:tinhnho said:

(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.

0 + 0*16

- #6

jcsd

Science Advisor

Gold Member

- 2,090

- 11

Oops I lost a digit disregard my last post.

- #7

- 2

- 0

Hi guys,

In case you want to double check your results, use this http://www.stringfunction.com/hex-decimal.html" [Broken]

Hope this can help

David

In case you want to double check your results, use this http://www.stringfunction.com/hex-decimal.html" [Broken]

Hope this can help

David

Last edited by a moderator:

- Replies
- 9

- Views
- 1K

- Last Post

- Replies
- 7

- Views
- 2K

- Last Post

- Replies
- 3

- Views
- 2K

- Replies
- 33

- Views
- 2K

- Replies
- 1

- Views
- 1K

- Last Post

- Replies
- 3

- Views
- 25K

- Last Post

- Replies
- 5

- Views
- 3K

- Last Post

- Replies
- 9

- Views
- 4K

- Replies
- 5

- Views
- 3K

- Replies
- 5

- Views
- 1K