0
I need help with number base conversions
From binary to decimal and from decimal to hexa decimal
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 đ
+ 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
+ 1
Have you tried searching the Code Playground? there should be loads of examples waiting to be read ...
0
Abraham John,
I see your message but I can't reply DMs. If you have something to say, you can do so here ...
0
I need help with number base conversion from binary to decimal using c++