Numbertext / libnumbertext

Number to number name and money text conversion libraries in C++, Java, JavaScript and Python & LibreOffice Calc Extension
BSD 3-Clause "New" or "Revised" License
67 stars 46 forks source link

Wrong words for numbers ending with 5, 6 and 9 for Ukrainian #119

Open zeezooz opened 11 months ago

zeezooz commented 11 months ago

In decimals, UAH and cents, these words are missing "ь" at the end ("пʼят" instead of "пʼять", "шіст" instead of "шість" and "девʼят" instead of "девʼять"). Examples from https://numbertext.github.io/#testimonials: 5.5 should be "пʼять цілих й пʼять десятих"

image

6.26 should be "шість цілих й двадцять шість сотих"

image

9.129 should be "девʼять цілих й сто двадцять девʼять тисячних"

image

UAH 25.89 should be "двадцять пʼять гривень вісімдесят девʼять копійок"

image

USD 5.75 should be "пʼять доларів США сімдесят пʼять центів"

image