mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
Small UI change - HacknetNode production added toFixed(2)
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ updateHacknetNodeDomElement = function(nodeObj) {
|
||||
if (txt == null) {throw new Error("Cannot find text element");}
|
||||
txt.innerHTML = "Node name: " + nodeName + "<br>" +
|
||||
"Production: $" + nodeObj.totalMoneyGenerated.toFixed(2) +
|
||||
" ($" + nodeObj.moneyGainRatePerSecond + " / second) <br>" +
|
||||
" ($" + nodeObj.moneyGainRatePerSecond.toFixed(2) + " / second) <br>" +
|
||||
"Level: " + nodeObj.level + "<br>" +
|
||||
"RAM: " + nodeObj.ram + "GB<br>" +
|
||||
"Cores: " + nodeObj.numCores;
|
||||
|
||||
Reference in New Issue
Block a user