mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
Small UI change - HacknetNode production added toFixed(2)
This commit is contained in:
parent
08f4278474
commit
097807282d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user