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

[IMP] Small adjustments for pt_BR #110

Open aricaldeira opened 1 year ago

aricaldeira commented 1 year ago

Line #45 - Using comma to separate groups: spellout -l pt-BR 123456789 before: cento e vinte e três milhões quatrocentos e cinquenta e seis mil setecentos e oitenta e nove after: cento e vinte e três milhões, quatrocentos e cinquenta e seis mil, setecentos e oitenta e nove

Line #141 - Adding ordinal zero spellout -l pt-BR -p ordinal 0 before: after: zerésimo

Deleted line #187 - Portuguese doesn't use "primer" like Spanish

Lines #187 and #189 - Brazil doesn't add the dot before de ª and º symbols spellout -l pt-BR -p ordinal-number 10 before: 10.º after: 10º