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

[Turkish] Not properly converting number to text (301661 -> Üçyüzbinaltıyüzaltmışbir) #564

Open
omerkulak opened this issue Mar 4, 2024 · 4 comments

Comments

@omerkulak
Copy link

Expected Behaviour

301661 -> ÜçyüzBirbinaltıyüzaltmışbir

Actual Behaviour

301661 -> Üçyüzbinaltıyüzaltmışbir

we saw the problem only for number one (1) it works properly except 1.

For Example;
num2words(306661.0, lang='tr')
'üçyüzaltıbinaltıyüzaltmışbir'

image

@omerkulak
Copy link
Author

num2words(301661.10, lang='tr', to="currency")
'üçyüzbinaltıyüzaltmışbirliradokuzkuruş'

Expected;
'üçyüzbirbinaltıyüzaltmışbirliraonkuruş'

@toofun666
Copy link
Contributor

'üçyüzbirbinaltıyüzaltmışbirliraonkuruş'

How can you expect 'birbin'?

@omerkulak
Copy link
Author

'üçyüzbirbinaltıyüzaltmışbirliraonkuruş'

How can you expect 'birbin'?

Because it suppose to be like that. Then just try to text 301661 to words.

@toofun666
Copy link
Contributor

I got it now, I will check in the closest available time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants