Fix number of decimal places being displayed in the CPU load bar (#54)

This commit is contained in:
codedust 2016-07-23 16:49:35 +02:00 committed by PetaByteBoy // Milan Pässler
parent 8f7b1e15ce
commit cfd778dadb

View file

@ -204,7 +204,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"],
}
var label = document.createElement("label")
label.textContent = (v)
label.textContent = +(Math.round(v + "e+2") + "e-2")
span.appendChild(label)
return span