numeris_romanis

Converts decimal into roman and vice versa. The ranges permitted are [1, 3999] and [I, MMMCMXCIX].


License
MIT
Install
gem install numeris_romanis -v 0.0.3

Documentation

Build Status codecov Gem Version License: MIT

numeris_romanis

Converts integer numbers into roman numbers and vice versa.

Usage

When NumerisRomanis is instantiate, integer numbers from 1 to 3999 are converted into roman numbers. After that, when you want to convert roman number into decimal number or decimal number into roman number the instance methods respond with the precalculated value. When number to convert is out of ranges [1, 3999] or [I, MMMCMXCIX] the method responds with nil. Similary if argument is invalid.

full reference

Visit the wiki for the full documentation.

getting started

Edit your Gemfile and add:

gem 'numeris_romanis'

Now you can update your gemset with bundle.

author

Mauro Quaglia