From 5691406d09c0b7c2080888e59f14faca145fe4a7 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Tue, 24 May 2016 23:26:46 +0200 Subject: [PATCH] [TASK] Format load average --- lib/infobox/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/infobox/node.js b/lib/infobox/node.js index eccc466..659c596 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -297,7 +297,7 @@ define(["moment", "numeral", "tablesort", "tablesort.number", "moment.de"], } return function (el) { - el.appendChild(showLoadBar("load-avg", d.statistics.loadavg)); + el.appendChild(showLoadBar("load-avg", numeral(d.statistics.loadavg).format("0.00"))); }; }