From 5162946fca661935fed27ee98e15d165f15d50b6 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 689e4d5..c432183 100644 --- a/lib/infobox/node.js +++ b/lib/infobox/node.js @@ -178,7 +178,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"))); }; }