Skip to content

Spanish not working properly for "un" cases #515

Description

@German105

Expected Behaviour

num2words.num2words(101300, lang='es')
'ciento un mil trescientos'

Actual Behaviour

num2words.num2words(101300, lang='es')
'ciento uno mil trescientos'

In spanish "un" is used in a lot of cases instead of "uno". A few more examples:
31000 should be: treinta y un mil
891003 should be: ochocientos noventa y un mil tres

In this kind of cases it's being returned as "uno" instead of "un". I tested with all 3 spanish options and all 3 had the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions