Feb-08-2017, 07:21 AM
Not mine, but a quick google search found this: https://github.com/pwdyson/inflect.py
From the docs:
From the docs:
Quote:words = p.number_to_words(1234) # "one thousand, two hundred and thirty-four" words = p.number_to_words(p.ordinal(1234)) # "one thousand, two hundred and thirty-fourth"