Commit 0aa88a2d authored by Jérome Perrin's avatar Jérome Perrin

Better display of confidence intervals in Exit stat

parent 42f6383a
......@@ -652,8 +652,12 @@
if (value.ub == value.lb) {
value = value.ub;
} else {
// better than [Object] ...
value = JSON.stringify(value, " ", undefined)
var ci_text = "<table width='100%'><tbody>"
ci_text += "<tr><td>Average</td><td>" + value.avg.toFixed(2) + "</td></tr>"
ci_text += "<tr><td>Lower Bound</td><td>" + value.lb.toFixed(2) + "</td></tr>"
ci_text += "<tr><td>Upper Bound</td><td>" + value.ub.toFixed(2) + "</td></tr>"
ci_text += "</tbody></table>"
value = ci_text;
}
}
if (typeof value == "number") {
......
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