Deal with large numerical values in statistics - fixes #87
Change-Id: Iaaf95fe1dd6c87c693446706d2845a80bb2d257f
diff --git a/dev/js/src/vc/statistic.js b/dev/js/src/vc/statistic.js
index dd955b7..cd8d0ce 100644
--- a/dev/js/src/vc/statistic.js
+++ b/dev/js/src/vc/statistic.js
@@ -52,7 +52,7 @@
statDT.addT(k);
statDT.setAttribute('title', k);
statDD = statSp.addE('dd');
- statDD.addT(statistic[k].toLocaleString());
+ statDD.addT(new Number(statistic[k]).toLocaleString());
}
this._element = statDL;