Fix number of decimal places being displayed in the CPU load bar (#54)
This commit is contained in:
parent
8f7b1e15ce
commit
cfd778dadb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue