Skip to content

Commit 0415e3d

Browse files
hardcoded default formatting
1 parent 0b8bf19 commit 0415e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ PivotView.prototype.renderRawData = function (data) {
769769
element.textContent = value ? _.numeral(value).format(format) : "";
770770
} else if (value && info.defaultFormat) {
771771
element.textContent = _.numeral(value).format(
772-
info.defaultFormat[value % 1 === 0 ? "int" : "double"]
772+
value % 1 === 0 ? "#,###" : "#,###.##"
773773
);
774774
} else {
775775
element.textContent = value || "";

0 commit comments

Comments
 (0)