float number mini fix
This commit is contained in:
parent
1e13a52eee
commit
36bc140dc4
|
@ -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 + "₺";
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue