Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 489 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 489 Bytes

romanim

  • Converts Roman numerals to what you understand without a blink.
  • Converts what you understand without a blink to Roman numerals.

Installation

$ nimble install romanim

Usage

Add romanim to your dependencies:

requires "romanim >= 0.1.0"

And use it!

import romanim

echo int2roman(2022)   # MMXXII

echo roman2int("XVI")  # 16

echo isRoman("MV")     # true

License

MIT