Adding a numberToRoman function for converting integers to Roman number strings

This commit is contained in:
Veronica K. B. Olsen
2020-07-05 16:55:31 +02:00
parent e4b454c9c7
commit 1cb17733c6
2 changed files with 32 additions and 9 deletions
+3 -5
View File
@@ -3,13 +3,10 @@
from nw.core.document import NWDoc
from nw.core.index import NWIndex
from nw.core.project import NWProject
from nw.core.spellcheck import NWSpellCheck
from nw.core.spellcheck import NWSpellEnchant
from nw.core.spellcheck import NWSpellSimple
from nw.core.spellcheck import NWSpellCheck, NWSpellEnchant, NWSpellSimple
from nw.core.tokenizer import Tokenizer
from nw.core.tohtml import ToHtml
from nw.core.tools import countWords
from nw.core.tools import numberToWord
from nw.core.tools import countWords, numberToRoman, numberToWord
__all__ = [
"NWDoc",
@@ -21,5 +18,6 @@ __all__ = [
"Tokenizer",
"ToHtml",
"countWords",
"numberToRoman",
"numberToWord",
]