What is hexadecimal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is hexadecimal

I was doing a challenge on php and noticed something about bchexdec. Now if im not confused that would mean hexadecimal. Could someome please explain exactly what hexadecimal is and what decimal is for that matter?

28th May 2018, 2:30 PM
Zeb
2 Answers
+ 5
Decimal are numbers of base 10, i.e. What you are familiar with. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.. Hexadecimal are numbers of base 16. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11... A hexadecimal value of C, would be 12 in decimal form. A decimal number of 18, would be 12 in hexadecimal form.
28th May 2018, 2:33 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
Thanks Hatsy Rei!! extremely helpful
19th Jun 2018, 3:29 PM
Zeb