Fix encoding
This commit is contained in:
parent
3e7f6168ca
commit
9f3807eb8a
1 changed files with 2 additions and 2 deletions
4
index.ts
4
index.ts
|
@ -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)) {
|
||||
|
|
Reference in a new issue