Commit 7bee5b86 authored by Jérome Perrin's avatar Jérome Perrin

Only display 2 digit for exit stat

parent 27e3e23f
......@@ -535,6 +535,9 @@
text += "<tr><td>Average Daily Line Attainment</td><td>" + (
(attainment_list.reduce(function(a, b){return a+b}) / attainment_list.length ) * 100).toFixed(2) + "%</td></tr>";
} else {
if (typeof value == "number") {
value = value.toFixed(2)
}
text += "<tr><td>" + metric + "</td><td>" + value + "</td></tr>";
}
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment