Octa <--> Hexa | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Octa <--> Hexa

How to convert Octadecimal number to Hexadecimal number directly with out intermediate steps like converting them the Decimal or Binary numbers: 15,4 = f,8 and visa versa: f,8 = 15,4 is there is a build in function , we can do that quickly? and how we can do that, with out build in functions?

1st Aug 2021, 1:01 PM
Abd Alwahab Alansi
Abd Alwahab Alansi - avatar
1 Answer
0
hex and oct function only get integer so you should first convert it with int if you like that one step feeling you can make your own hex and oct function which does that
1st Aug 2021, 1:19 PM
Abs Sh
Abs Sh - avatar