|
@@ -877,7 +877,6 @@ public class ExcelUtils {
|
|
// 是否为字符串
|
|
// 是否为字符串
|
|
if (o instanceof String) {
|
|
if (o instanceof String) {
|
|
String s = o.toString();
|
|
String s = o.toString();
|
|
- System.out.println(s);
|
|
|
|
// 当数字类型长度超过8位时,改为字符串类型显示(Excel数字超过一定长度会显示为科学计数法)
|
|
// 当数字类型长度超过8位时,改为字符串类型显示(Excel数字超过一定长度会显示为科学计数法)
|
|
if (isNumeric(s) && s.length() < 8) {
|
|
if (isNumeric(s) && s.length() < 8) {
|
|
cell.setCellType(CellType.NUMERIC);
|
|
cell.setCellType(CellType.NUMERIC);
|