swap dollar symbols for pound symbols

This commit is contained in:
stvnrlly
2022-10-12 20:16:22 +00:00
parent 40dacb61c9
commit 067b4b3742
7 changed files with 28 additions and 27 deletions

View File

@@ -300,6 +300,7 @@ def nl2br(value):
return ''
# this formatter appears to only be used in the letter module
def format_number_in_pounds_as_currency(number):
if number >= 1:
return f"£{number:,.2f}"