Fix AmtInWords_ES error - UN CIENTO debe decir CIEN - ID: 2373704
Thanks to arboleda for fixing this
This commit is contained in:
parent
8b0ea3e307
commit
9d58437440
|
@ -152,6 +152,10 @@ public class AmtInWords_ES implements AmtInWords
|
|||
if (n != 0)
|
||||
{
|
||||
String s = convertLessThanOneThousand (n);
|
||||
if (s.startsWith ("UN CIENTO", 1))
|
||||
{
|
||||
s = s.replaceFirst ("UN CIENTO", "CIEN");
|
||||
}
|
||||
if (s.startsWith ("CINCO CIENTOS", 1))
|
||||
{
|
||||
s = s.replaceFirst ("CINCO CIENTOS", "QUINIENTOS");
|
||||
|
|
Loading…
Reference in New Issue