rome icon indicating copy to clipboard operation
rome copied to clipboard

fix transform numbers like 8*

Open anatolyburtsev opened this issue 12 years ago • 1 comments

Your lib have some problem with numbers, contain digit 8, for example: python -c "from rome import Roman; print(Roman(8))" IIX I fixed this problem: python -c "from rome import Roman; print(Roman(8))" VIII

2008 as MMVIII http://en.wikipedia.org/wiki/Roman_numerals

anatolyburtsev avatar Jul 31 '13 18:07 anatolyburtsev

Isn't it a bit of a hack that you check for '8'? Isn't there a more general algorithm?

keleshev avatar Aug 01 '13 12:08 keleshev