소수점 제거
This commit is contained in:
@@ -48,8 +48,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decimalFormatter(cellvalue, options, rowObject) {
|
function decimalFormatter(cellvalue, options, rowObject) {
|
||||||
if (cellvalue == null || cellvalue == '') return '0.000';
|
if (cellvalue == null || cellvalue == '') return '0';
|
||||||
return Number(cellvalue).toFixed(3);
|
return Math.round(Number(cellvalue)).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCharts() {
|
function initCharts() {
|
||||||
|
|||||||
@@ -49,8 +49,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decimalFormatter(cellvalue, options, rowObject) {
|
function decimalFormatter(cellvalue, options, rowObject) {
|
||||||
if (cellvalue == null || cellvalue == '') return '0.000';
|
if (cellvalue == null || cellvalue == '') return '0';
|
||||||
return Number(cellvalue).toFixed(3);
|
return Math.round(Number(cellvalue)).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCharts() {
|
function initCharts() {
|
||||||
|
|||||||
@@ -41,8 +41,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decimalFormatter(cellvalue, options, rowObject) {
|
function decimalFormatter(cellvalue, options, rowObject) {
|
||||||
if (cellvalue == null || cellvalue == '') return '0.000';
|
if (cellvalue == null || cellvalue == '') return '0';
|
||||||
return Number(cellvalue).toFixed(3);
|
return Math.round(Number(cellvalue)).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCharts() {
|
function initCharts() {
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decimalFormatter(cellvalue, options, rowObject) {
|
function decimalFormatter(cellvalue, options, rowObject) {
|
||||||
if (cellvalue == null || cellvalue == '') return '0.000';
|
if (cellvalue == null || cellvalue == '') return '0';
|
||||||
return Number(cellvalue).toFixed(3);
|
return Math.round(Number(cellvalue)).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCharts() {
|
function initCharts() {
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function decimalFormatter(cellvalue, options, rowObject) {
|
function decimalFormatter(cellvalue, options, rowObject) {
|
||||||
if (cellvalue == null || cellvalue == '') return '0.000';
|
if (cellvalue == null || cellvalue == '') return '0';
|
||||||
return Number(cellvalue).toFixed(3);
|
return Math.round(Number(cellvalue)).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function initCharts() {
|
function initCharts() {
|
||||||
|
|||||||
Reference in New Issue
Block a user