diff --git a/vultr-helper.js b/vultr-helper.js index 7f5fcc1..d6cc8b1 100644 --- a/vultr-helper.js +++ b/vultr-helper.js @@ -32,7 +32,7 @@ function getAccountInfo(apiKey) { $("progress_label").text = "Charges this month: $" + data.pending_charges; // console.log(balance); $("charges").value = balance; - $("remaining_credit").text = "$" + Math.abs(remainCredit); + $("remaining_credit").text = "$" + Math.abs(remainCredit).toFixed(2); $("progress_percent").text = percentBalance; } });