algorithmconverter-cakeno
v1.0.3
Published
convert roman numerals to integer number and integer number to roman numerals
Downloads
3
Readme
Conversor de algoritmos romanos v.1.0.3
Esta biblioteca se destina à conversão de algaritmos romanos para números inteiros, números inteiros para algaritmos romanos. Na versão atual é capaz de converter números inteiros de 1 a 3999 para seus equivalentes em algaritmos romanos e vice-versa.
Como instalar:
$ npm install algorithmconverter-cakeno
Como utilizar:
Transformar números inteiros em algaritmos romanos
> const convert = require("algorithmconverter-cakeno");
> convert.intToRoman("3999")
> // returns "MMMCMXCIX"
Transformar algaritmos romanos em números inteiros
> const convert = require("algorithmconverter-cakeno");
> convert.romanToInt("MMMCMXCIX")
> // returns "3999"
Roadmap oficial do projeto
versão 2.0.0 (sem previsão)
- implementação para converter números acima de 3999;
versão 1.0.0 (released)
- funcionalidades: conversão de números inteiros de 1 a 3999 para seus equivalentes em algaritmos romanos e vice-versa.