Commit bb0f50bb authored by Juan Jose Pimentel's avatar Juan Jose Pimentel
Browse files

[FIX] One thousand amount was written wrong

parent dcb80235
......@@ -144,7 +144,10 @@ def spanish_number(val):
l = val // mod
r = val - (l * mod)
if l==1:
ret = 'Un ' + denom_es[didx][:-2]
if didx>1:
ret = 'Un ' + denom_es[didx][:-2]
else:
ret = 'Un ' + denom_es[didx]
else:
ret = _convert_nnn_es(l) + ' ' + denom_es[didx]
if r==0 and didx>1:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment