words-to-numbers icon indicating copy to clipboard operation
words-to-numbers copied to clipboard

numbers like 'twenty-two million', 'two hundred fifty million' not converted correctly

Open unek opened this issue 5 years ago • 1 comments

> wordsToNumbers('twenty million')
20000000
> wordsToNumbers('twenty-five million')
5000020
> wordsToNumbers('two hundred million')
200000000
> wordsToNumbers('two hundred fifty million')
50000200

unek avatar Jul 24 '18 18:07 unek

Use the numerizer module instead.

dsteinman avatar Jan 28 '20 01:01 dsteinman