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
- Host: GitHub
- URL: https://github.com/marcaureln/hex
- Owner: marcaureln
- Created: 2019-05-12T08:22:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-27T08:11:54.000Z (over 6 years ago)
- Last Synced: 2025-01-11T09:44:30.686Z (12 months ago)
- Topics: binary-converter, hexadecimal-converter, ruby
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!