Spaces:
Build error
Build error
Arnaudding001
commited on
Commit
•
e98e104
1
Parent(s):
85be5b2
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def convert_to_french_letters(number):
|
|
39 |
if hundreds == 1:
|
40 |
words.append('cent')
|
41 |
else:
|
42 |
-
words.append(units[hundreds] + ' cent')
|
43 |
|
44 |
if tens_and_units > 0:
|
45 |
if tens_and_units < 10:
|
|
|
39 |
if hundreds == 1:
|
40 |
words.append('cent')
|
41 |
else:
|
42 |
+
words.append(units[int(hundreds)] + ' cent')
|
43 |
|
44 |
if tens_and_units > 0:
|
45 |
if tens_and_units < 10:
|