From 097807282d82f94a5110f08db1c886a04b86fc19 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Mon, 1 May 2017 22:56:48 -0500 Subject: [PATCH] Small UI change - HacknetNode production added toFixed(2) --- src/HacknetNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HacknetNode.js b/src/HacknetNode.js index 2c38da252..86df16cea 100644 --- a/src/HacknetNode.js +++ b/src/HacknetNode.js @@ -224,7 +224,7 @@ updateHacknetNodeDomElement = function(nodeObj) { if (txt == null) {throw new Error("Cannot find text element");} txt.innerHTML = "Node name: " + nodeName + "
" + "Production: $" + nodeObj.totalMoneyGenerated.toFixed(2) + - " ($" + nodeObj.moneyGainRatePerSecond + " / second)
" + + " ($" + nodeObj.moneyGainRatePerSecond.toFixed(2) + " / second)
" + "Level: " + nodeObj.level + "
" + "RAM: " + nodeObj.ram + "GB
" + "Cores: " + nodeObj.numCores;