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
68 stars 46 forks source link

[fi] Incorrect large ordinal numbers #19

Closed tjhietala closed 6 years ago

tjhietala commented 6 years ago

Finnish ordinal numbers from one million and up are incorrect when the number starts with 1. Examples:

1000000 outputs "ensimmäinenmiljoonas", should be "miljoonas". 1000000000 outputs "ensimmäinenmiljardis", should be "miljardis". 1000000000000 outputs "ensimmäinenbiljoonas", should be "biljoonas".

laszlonemeth commented 6 years ago

Fixed in commit 3e7263900ab7611e4e9cf3b3ce45cabdf1de53cc. Thanks for your bug report!