Apache poi чтение чисел

Пытаюсь получить значение ячейки, в которой находится значение из 12 цифр. В результате вывода получаю 3.07208604241E11 вместо 307208604241 , из-за чего появляется точка и E11 в конце?

public class Main {
 static int rowNumber;
 static String columnName;
 static int i;
public static void main(String[] args) throws Exception {

FileInputStream fi = new FileInputStream("1.xlsx");
    Workbook wb = new XSSFWorkbook(fi);
    Sheet sh = wb.getSheetAt(0);
for(i=1; i<=sh.getLastRowNum(); i++){
    int ii = i-1;
    String t = "A";
    
    Cell itn = getCell("C"+i);
    
System.out.println(itn);
wb.close();
}
}

public static Cell getCell(String cellName) throws IOException{
FileInputStream fi = new FileInputStream("1.xlsx");
Workbook wb = new XSSFWorkbook(fi);
Pattern r = Pattern.compile("^([A-Z]+)([0-9]+)$");
Matcher m = r.matcher(cellName);
if(m.matches()) {
    columnName = m.group(1);
    rowNumber = Integer.parseInt(m.group(2));
    if(rowNumber > 0) {
  wb.close();
        return wb.getSheetAt(0).getRow(rowNumber-1).getCell(CellReference.convertColStringToIndex(columnName)); // throw an exception or return a null
    
    }
    
}

return null;

}
}

Ответы (0 шт):