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

Conversion Bug #432

Closed
prakash-niroula opened this issue Dec 22, 2021 · 2 comments
Closed

Conversion Bug #432

prakash-niroula opened this issue Dec 22, 2021 · 2 comments

Comments

@prakash-niroula
Copy link

Expected Behaviour

>> num2word.word(120000455)
'One Hundred Twenty million Four Hundred Fifty Five'

Actual Behaviour

>> num2word.word(120000455)
'One Hundred Twenty million thousand Four Hundred Fifty Five'

Steps to reproduce

  • step 1 : >> num2word.word(120000455)
  • step 2 : done

Other possible bugs when it happens

  • It happens if we leave the thousands, million or billion place all 000

  • Ex 1: >>> num2word.word(1000000233)

  • Ex 2: >>> num2word.word(1000000000255)

@prakash-niroula
Copy link
Author

If you are wondering what's wrong:

The thousand comes from nowhere. try num2word.word(10000000002) there are unwanted million and thousand

@eugene-k
Copy link

Wrong place to send - this is num2words project, not num2word.

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