archive
/
givemoneyto.me
Archived
1
Fork 0

Fix encoding

This commit is contained in:
Jake Howard 2019-06-29 21:43:14 +01:00
parent 3e7f6168ca
commit 9f3807eb8a
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ function humanize(value: number) {
const value = parseFloat(i.toFixed(2));
const context = {
...baseContext,
displayValue: "£" + humanize(value),
value: humanize(value)
displayValue: '£' + humanize(value),
value: humanize(value),
};
writeTemplate(template, value.toString(), context);
if (isPrecision(value, 1)) {