correction bug locale us-US
This commit is contained in:
@@ -39,8 +39,7 @@ def to_euro(x):
|
||||
|
||||
def to_usd(x):
|
||||
"""Takes a float and returns a string"""
|
||||
locale.setlocale(locale.LC_ALL,'en-US')
|
||||
return locale.currency(x, True, True)
|
||||
return to_euro(x).replace('€','$')
|
||||
|
||||
|
||||
def to_int(x):
|
||||
|
||||
Reference in New Issue
Block a user