1.1.0 • Published 4 years ago
decimal-roman-converter v1.1.0
Realised during a technical code interview for AXOPEN
Table of content:
Installation
$ npm install decimal-roman-converterUsage
const { toDecimal, toRoman } = require('decimal-roman-converter')Methods
toRoman()
| Parameter | Type | Default | Description |
|---|---|---|---|
| number | int | Number to convert |
*Returns: roman string*
toDecimal()
| Parameter | Type | Default | Description |
|---|---|---|---|
| romanString | string | Roman number string to convert |
*Returns: number*
License
MIT License
Copyright (c) barthofu