Skip to content

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

@66qzd

Description

@66qzd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions