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

Why a extra blank appeared in calling number_to_words to convert 541140 to words with andword=',' #229

Open
66qzd opened this issue Feb 11, 2025 · 0 comments

Comments

@66qzd
Copy link

66qzd commented Feb 11, 2025

code:
`import inflect

p = inflect.engine()

print(p.number_to_words(541440))
print(p.number_to_words(541440, andword=','))
`
result:(the extra blank appear after four hunred)
five hundred and forty-one thousand, four hundred and forty
five hundred, forty-one thousand, four hundred , forty

@66qzd 66qzd closed this as completed Feb 11, 2025
@66qzd 66qzd reopened this Feb 11, 2025
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

1 participant