Parsing number to romannumerals string. Only cover number between 1 and 3000.
Using recursive to loop number to romannumerals
People who want to convert string to roman numeral (year).
- Install at terminal
npm i-S gray_romannumerals
- Using gray_romannumerals
const rm = require('gray_romannumerals');
let result = rm.roman(number);