Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
vauxoo-dev
addons-vauxoo
Commits
bb0f50bb
Commit
bb0f50bb
authored
Feb 03, 2012
by
Juan Jose Pimentel
Browse files
[FIX] One thousand amount was written wrong
parent
dcb80235
Changes
1
Hide whitespace changes
Inline
Side-by-side
amount_to_text_es/amount_to_text_es.py
View file @
bb0f50bb
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment