mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
In Spanish, the number 100000 should be "Cien mil" and not "Ceinto mil"
This commit is contained in:
committed by
Virgil Dupras
parent
a52b9b7ad5
commit
567f293aa3
@@ -68,7 +68,7 @@ class Num2Word_ES(Num2Word_EU):
|
|||||||
if nnum < 1000000:
|
if nnum < 1000000:
|
||||||
return next
|
return next
|
||||||
ctext = "un"
|
ctext = "un"
|
||||||
elif cnum == 100:
|
elif cnum == 100 and not nnum == 1000:
|
||||||
ctext += "t" + self.gender_stem
|
ctext += "t" + self.gender_stem
|
||||||
|
|
||||||
if nnum < cnum:
|
if nnum < cnum:
|
||||||
|
|||||||
Reference in New Issue
Block a user