Excel中,getStringCellValue返回float

我从Excel单元格中获取string。 在我的单元格中有一个整数。 但是这个代码带来了一个浮点。 例如在我的单元格中有一个数字409,但它带来了409.0如何解决这个问题? 我需要把确切的409?

public String getCell(int x, int y) { Cell cell = sheet.getRow(x).getCell(y); if (cell.getCellType() == Cell.CELL_TYPE_NUMERIC) { return "" + cell.getNumericCellValue(); } return "" + cell.getStringCellValue(); } 

Math.round()会四舍五入并返回一个int