How to calculate hexadecimal. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to calculate hexadecimal.

I know what hexadecimal is, but I don't know how to turn a number into it or turn it into a number.

26th Apr 2019, 10:47 AM
androidCoder255
androidCoder255 - avatar
3 Answers
+ 7
Note: made it beginner friendly In hexadecimal, numbers go from 0-F. 0 = 0 1 = 1 .... A = 10 B = 11 C = 12 D = 13 E = 14 F = 15 --- If a number gets greater than 15, like 16, add 1 to the position next to the current hexadecimal position and make the current position be 0. Hex. = Dec. F = 15 + 1 = 1 ------------- 10 = 16 If a number is over 256, like 257, the same process happens: FF = 256 + 1 = 1 ------------------ 100 = 257 Hope it helps 😃
1st May 2019, 9:17 PM
Edwin Pratt
Edwin Pratt - avatar
+ 6
Give us an example of what you find hard.
26th Apr 2019, 2:05 PM
Sonic
Sonic - avatar
0
Can you explain in more details?
26th Apr 2019, 3:11 PM
Jason Mackjoo
Jason Mackjoo - avatar