SlickGrid:大数被转换为指数形式

SlickGrid: large number gets converted to Exponential form

我正在使用 SlickGrid, here is the sample jsfiddle 我面临的问题。

网格的最后一列 (effortDriven) 的值被转换为科学计数法,因为它是 a large number

我正在使用循环生成数据:

 for (var i = 0; i < 500000; i++) {
      data[i] = {
        title: "Task " + i,
        duration: "5 days",
        percentComplete: Math.round(Math.random() * 100),
        start: "01/01/2009",
        finish: "01/05/2009",
        effortDriven:  i *  23000000000000000000000 // this value is shown in scientific notation
      };
    }

如何避免将大数转换为 scientific notation

提前致谢。

尝试(i * 23000000000000000000000).toLocaleString()