+ 2

CHALLENGE "Binary Converter"

Without using a built in library or function, create a piece of code that will convert a number into binary. For ease of writing the code you can just keep it to the maximum number able to convert is 255 but its up to you. For an extra challenge try converting the number into Hexadecimal or even binary into denary. All languages welcome!

11th Sep 2017, 8:18 PM
Dom Barter
Dom Barter - avatar
3 odpowiedzi
+ 6
Base Converter: Any base (2-64) to any other (2-64) Accepts negative and floats as input https://code.sololearn.com/cYcOQFySB6C9/#py
17th Jul 2018, 10:52 AM
Cépagrave
Cépagrave - avatar
+ 3
Already made something like this lol. Converts any decimal number into any other base you specify. https://code.sololearn.com/caTdgR66rxXT/?ref=app
11th Sep 2017, 9:20 PM
Vari93
Vari93 - avatar
+ 3
these Python codes allow to convert a decimal number to any base (form 2 to 36 due to limitations of symbols in alphabet.. one can extend using capital letters or other symbols) and viceversa.. 🐍 https://code.sololearn.com/csUgHGMA9VA1/?ref=app https://code.sololearn.com/cLHw9Aswk6GO/?ref=app
12th Sep 2017, 7:16 PM
m abrate
m abrate - avatar