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

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)) {