float number mini fix

This commit is contained in:
Aliberk Sandıkçı 2024-01-08 17:16:26 +03:00
parent 1e13a52eee
commit 36bc140dc4
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
let progbar = document.getElementById("pprogress")
progbar.max = goalAmount;
progbar.value = curAmount;
console.log(curAmount, curAmount.toFixed(2));
progbar.value = curAmount.toFixed(2);
progbar.labels[1].innerHTML = curAmount + "/" + goalAmount + "";
}
})