savoirfairelinux / num2words

Modules to convert numbers to words. 42 --> forty-two
GNU Lesser General Public License v2.1
820 stars 497 forks source link

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

Open omerkulak opened 7 months ago

omerkulak commented 7 months ago

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 commented 7 months ago

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

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

toofun666 commented 5 months ago

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

How can you expect 'birbin'?

omerkulak commented 5 months ago

'üç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 commented 5 months ago

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