/hex

Small program to convert a number between two custom bases

Primary LanguageRuby

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

  1. Install Ruby if you're on windows with the RubyInstaller
  2. Download and unzip the repository
  3. Run ruby main.rb on your command-line
  4. Enjoy!