|
|
|
@ -494,7 +494,7 @@ public class ExcelUtil<T>
@@ -494,7 +494,7 @@ public class ExcelUtil<T>
|
|
|
|
|
else if (ColumnType.NUMERIC == attr.cellType()) |
|
|
|
|
{ |
|
|
|
|
cell.setCellType(CellType.NUMERIC); |
|
|
|
|
cell.setCellValue(Integer.parseInt(value + "")); |
|
|
|
|
cell.setCellValue(StringUtils.contains(Convert.toStr(value), ".") ? Convert.toDouble(value) : Convert.toInt(value)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|