0

I need help with number base conversions

From binary to decimal and from decimal to hexa decimal

28th Sep 2021, 10:24 AM
Abraham John
5 Answers
+ 3
Please specify relevant language(s) in the thread's tags ☝ https://code.sololearn.com/W3uiji9X28C1/?ref=app Search Code Playground for examples and inspirations 👍
28th Sep 2021, 10:27 AM
Ipang
+ 1
Abraham John Python options print(bin(8)) #decimal to binary print(hex(8)) #decimal to hex print(int("1000",2)) # bin to dec print(int("0x8",16)) # hex to dec
28th Sep 2021, 10:41 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Have you tried searching the Code Playground? there should be loads of examples waiting to be read ...
29th Sep 2021, 6:43 AM
Ipang
0
Abraham John, I see your message but I can't reply DMs. If you have something to say, you can do so here ...
28th Sep 2021, 1:23 PM
Ipang
0
I need help with number base conversion from binary to decimal using c++
28th Sep 2021, 9:30 PM
Abraham John