在用poi导出excel时 导出的数字为文本格式(左上角有绿色三角)
原因:
cell.setCellType(Cell.CELL_TYPE_NUMERIC);
cell.setCellValue( numberFormater.format(bValue .doubleValue()) );
change to
cell.setsetCellValue( bValue .doubleValue());
cellStyle.setDataFormart(HSSFDataFormat.getBuiltinFormat("##.##"));
cell.setCellStyle(cellStyle);