akshaynagpal / w2n

Convert number words (eg. twenty one) to numeric digits (21)
http://w2n.readthedocs.io
MIT License
167 stars 78 forks source link

wrong conversion over million #44

Open dipghoshraj opened 5 years ago

dipghoshraj commented 5 years ago

from word2number import w2n print(w2n.word_to_num('two million one thousand')) 2002001