double id0 = row.getCell(0).getNumericCellValue(); Integer id = Integer.valueOf(Double.valueOf(id0).intValue()); String name = row.getCell(1).getStringCellValue(); double age0 = row.getCell(2).getNumericCellValue(); Integer age = Integer.valueOf(Double.valueOf(age0).intValue());