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

Numbers from 13 to 19 aren't pronounced correctly in English #1

Open
waelhasan opened this issue Sep 26, 2018 · 0 comments
Open

Numbers from 13 to 19 aren't pronounced correctly in English #1

waelhasan opened this issue Sep 26, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@waelhasan
Copy link
Owner

When entering numbers from 13 to 19 it is handled the same as 'twenty' and 'thirty' ... etc, when it should be handled in 'Xteen' notation.

Examples

console.log(convert(13, { language: 'en'})) // ten three
console.log(convert(14, { language: 'en'})) // ten four
console.log(convert(15, { language: 'en'})) // ten five
console.log(convert(16, { language: 'en'})) // ten six
console.log(convert(17, { language: 'en'})) // ten seven
console.log(convert(18, { language: 'en'})) // ten eight
console.log(convert(19, { language: 'en'})) // ten nine
@waelhasan waelhasan added the bug Something isn't working label Sep 26, 2018
@waelhasan waelhasan self-assigned this Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant