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

View file

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