An open API service indexing awesome lists of open source software.

https://github.com/marcaureln/hex

Small program to convert a number between two custom bases
https://github.com/marcaureln/hex

binary-converter hexadecimal-converter ruby

Last synced: about 2 months ago
JSON representation

Small program to convert a number between two custom bases

Awesome Lists containing this project

README

          

# hex
A console program to convert numbers from any bases to any other bases (actually limited to hexadecimal base).
Inspired by my *Computer Architecture* course. The final goal is to build an mobile app but I start by make an functional algorithm in Ruby.

### To-do
- [ ] Build an executable
- [ ] Enhance the UX
- [ ] Call from command-line
- [ ] Add unit tests

## Usage
0. Install Ruby if you're on windows with the [RubyInstaller](https://rubyinstaller.org/)
1. Download and unzip the repository
2. Run `ruby main.rb` on your command-line
3. Enjoy!