forzagreen / n2words

Convert numerical numbers to written numbers, in 25+ languages.
MIT License
86 stars 22 forks source link

Incorrect Polish numeral representation for the number 90 #141

Open kamilcieslik opened 4 months ago

kamilcieslik commented 4 months ago

https://github.com/forzagreen/n2words/blob/0e7bc54717f2b7a1c43c61ea53689a2eca22d748/lib/i18n/pl.js#L37

Description of the issue: The current version of the library incorrectly represents the number 90 as "dziewięćdzisiąt" instead of the correct "dziewięćdziesiąt" in Polish. It would be great if this could be fixed in an upcoming version.

Expected Behavior: The number 90 should be correctly represented as "dziewięćdziesiąt" in Polish.

Current Behavior: The number 90 is incorrectly represented as "dziewięćdzisiąt". I use the following workaround in my code:

TylerVigario commented 4 months ago

@kamilcieslik Thank you for this report! I believe @forzagreen will have some insight shortly.