coins: display currency name in upper case
This commit is contained in:
parent
91abf2bf93
commit
360fd4d164
@ -10,7 +10,7 @@ def _currency(name, prefix=None, suffix=None):
|
||||
def tostr(value):
|
||||
return '{prefix}{value:,.2f}{suffix}'.format(
|
||||
prefix=prefix or '',
|
||||
suffix=suffix or ('' if (prefix or suffix) else (' ' + name)),
|
||||
suffix=suffix or ('' if (prefix or suffix) else (' ' + name.upper())),
|
||||
value=value)
|
||||
return tostr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user