Skip to content

JCMais/romanize-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

romanize-number

npm install romanize-number

What is this module for?

It transforms any* decimal numbers, 123456, to their respective roman numeral representation, C̅X̅X̅MMMCDLVI.

* The max value is currently 3 999 999

Usage

    import romanizeNumber from 'romanize-number'
    
    console.log( romanizeNumber( 123456 ) )

Why?

Why not? 🙃