akshaynagpal / w2n

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

Incorrect value returned for some combinations that contain 'hundred' #74

Open pandoman opened 1 year ago

pandoman commented 1 year ago

Strings such as seventy five hundred return an incorrect value. In this case, returns 450 (should return 7500) "eighty five hundred" returns 500 (should return (8500)