PHP Excel导出 避免数字较长以科学计数法显示
super
2021-11-13 19:03

PHP Excel导出时,如何避免数字较长以科学计数法显示?

- 1. 在数字前面加一个 空格

2. 使用setCellValueExplicit第三个参数
setCellValueExplicit('A1', '20211113185056215648', PHPExcel_Cell_DataType::TYPE_STRING);
0 条讨论