float number mini fix
This commit is contained in:
parent
1e13a52eee
commit
074ab9336f
1 changed files with 3 additions and 2 deletions
|
@ -203,8 +203,9 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
|
|||
|
||||
let progbar = document.getElementById("pprogress")
|
||||
progbar.max = goalAmount;
|
||||
progbar.value = curAmount;
|
||||
progbar.labels[1].innerHTML = curAmount + "/" + goalAmount + "₺";
|
||||
console.log(curAmount, curAmount.toFixed(2));
|
||||
progbar.value = curAmount.toFixed(2);
|
||||
progbar.labels[1].innerHTML = curAmount.toFixed(2) + "/" + goalAmount + "₺";
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
|
|
Loading…
Reference in a new issue