DecimalFormat df = new DecimalFormat("#");
System.out.println( df.format(cell.getNumericCellValue()));
如果再不行就用笨办法
String r=cell.getStringCellValue;Double t = Double.valueOf(r);BigDecimal phone = new BigDecimal(t);System.out.println(phone);
DecimalFormat df = new DecimalFormat("#");
System.out.println( df.format(cell.getNumericCellValue()));
如果再不行就用笨办法
String r=cell.getStringCellValue;Double t = Double.valueOf(r);BigDecimal phone = new BigDecimal(t);System.out.println(phone);