No description
Find a file
2022-03-24 19:47:58 -05:00
src Add isRoman 2022-03-24 19:11:29 -05:00
tests Add isRoman 2022-03-24 19:11:29 -05:00
.gitignore Init 2022-03-24 12:00:22 -05:00
LICENSE.txt Create LICENSE.txt 2022-03-24 19:19:36 -05:00
README.md Update README.md 2022-03-24 19:47:58 -05:00
romanim.nimble Update romanim.nimble 2022-03-24 18:14:30 -05:00

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