archive
/
givemoneyto.me
Archived
1
Fork 0

Accidentally fix issue with values being detected as needing rewrite when they didn't

This commit is contained in:
Jake Howard 2019-07-01 15:13:19 +01:00
parent 3b6b4bc666
commit 2ed04034a4
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function statusOutput(message: string) {
}
function isPrecision(value: number, precision: number) {
return parseFloat(value.toFixed(precision)) === value;
return value.toFixed(precision) === value.toString();
}
function writeTemplate(