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 271b344 commit 0ea9c0cCopy full SHA for 0ea9c0c
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "LightPivotTable",
3
"author": "ZitRo",
4
- "version": "1.1.1",
+ "version": "1.1.2",
5
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
6
"main": "test/testServer.js",
7
"repository": {
source/js/PivotView.js
@@ -807,7 +807,7 @@ PivotView.prototype.renderRawData = function (data) {
807
} else { // number
808
if (format) { // set format
809
element.textContent = value ? _.numeral(value).format(format) : "";
810
- } else if (value && info.defaultFormat) {
+ } else if (value) {
811
element.textContent = _.numeral(value).format(
812
value % 1 === 0 ? "#,###" : "#,###.##"
813
);
0 commit comments