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

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

Closed
mafraba opened this issue Apr 11, 2013 · 1 comment
Assignees
Milestone

Comments

@mafraba
Copy link

mafraba commented Apr 11, 2013

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!

eLod added a commit that referenced this issue Apr 11, 2013
@eLod
Copy link
Collaborator

eLod commented Apr 11, 2013

hey @mafraba, thank you for your bug report. the issue should be fixed, if you want you can test it with the development branch.

@ghost ghost assigned eLod Apr 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants