We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e144d0 commit 8773c89Copy full SHA for 8773c89
scripts/JSRootPainter.hist.js
@@ -970,7 +970,7 @@
970
switch(fmt) {
971
case "stat" : fmt = pave.fStatFormat || JSROOT.gStyle.fStatFormat; break;
972
case "fit": fmt = pave.fFitFormat || JSROOT.gStyle.fFitFormat; break;
973
- case "entries": if (value < 1e9) return value.toFixed(0); fmt = "14.7g"; break;
+ case "entries": if ((Math.abs(value) < 1e9) && (Math.round(value) == value)) return value.toFixed(0); fmt = "14.7g"; break;
974
case "last": fmt = this.lastformat; break;
975
}
976
0 commit comments