Public Group

# Hex Numbers... O_o

This topic is 3193 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hex numbers go 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F But after 9, what numerical values do the letters have? Is it going 10, 11, 12, 13, 14, 15, 10, 11, etc?

##### Share on other sites
Yes, 0x0A (base 16) equals 10 (base 10)

##### Share on other sites
Hex -> Decimal system conversion table:
A -> 10
B -> 11
C -> 12
D -> 13
E -> 14
F -> 15

But 10 in hexadecimal means (1 * 16 + 0)=16 in decimal system thus SIXTEEN.
The same for 11 in hexadecimal that is (1 * 16 + 1)=16 in decimal system thus SEVENTEEN.

In hexadecimal (and also in binary or octal systems) you should read each digt/letter by itself starting from left.
To convert hexadecimal values to decimal numbers you just have to sum all digits/letter multiplied each for a 16 factor (2 in binary, 8 in octal) power by position (0 is power of most right digit/letter, 1 is power of the second most right digit/letter and so on).

Thx alot. :D

1. 1
2. 2
3. 3
Rutin
16
4. 4
5. 5

• 10
• 11
• 14
• 10
• 25
• ### Forum Statistics

• Total Topics
632647
• Total Posts
3007641
• ### Who's Online (See full list)

There are no registered users currently online

×