bbroman
v1.0.1
Published
Roman to Arabic number converter
Downloads
8
Maintainers
Readme
Conversor de números inteiros para romanos v.1.0.0
Biblioteca destinada para a conversão de números inteiros para romanos. Nesta versão ela é capaz de converter números de 0 à 3999 para os romanos.
Versão 1.0.0
- funcionalidades: conversão de números de 0 a 3999 em números romanos;
instalação
- para seu funcionamento requer: Node.js e npm instalados. Para guia de instalação, visite [o site oficial;
- para fazer a instalação basta, em seu terminal, digitar
$npm install bbroman
;- pode ser necessário utilizar o comando
$sudo npm install bbroman
;
- pode ser necessário utilizar o comando
Os métodos utilizados na biblioteca são:
romanToInt(num);
Exemplo de uso:
$node
> const index = require("index")
> romanToInt(10); // 'X'
Roadmap oficial
versão 3.0.0 (sem previsão)
- conversão de números romanos para inteiros e inteiros para romanos até 5000;
versão 2.0.0 (prevista para novembro/2018)
- possibilidade de conversão de números romanos para inteiros;
versão 1.0.0 (released)
- funcionalidades: conversão de números de 0 a 3999 em números romanos;