text2digits icon indicating copy to clipboard operation
text2digits copied to clipboard

Large numbers like 123456789 incorrectly converted

Open ottokart opened this issue 5 years ago • 0 comments

>>> from text2digits import text2digits
>>> t2d = text2digits.Text2Digits()
>>> t2d.convert("hundred twenty three million four hundred fifty six thousand seven hundred and eighty nine")
'23057289'

Expected output is: 123456789

ottokart avatar Dec 18 '20 10:12 ottokart