Skip to content

Extra 'and' added after round hundreds (using hundreds_with_union: true) in English. #58

@mafraba

Description

@mafraba

When 'wording' multiples of 100, a trailing 'and' is added improperly when using 'to_words(hundreds_with_union: true)'.

Some examples will make it clearer:

900 -> "nine hundred and" (instead of just "nine hundred")
600 -> "six hundred and" (instead of just "six hundred")

Cheers, and thanks for the gem!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions