Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
unek opened this issue Jul 24, 2018 · 1 comment

Comments

@unek
Copy link

unek commented Jul 24, 2018

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

Use the numerizer module instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants