我试着读取excel的数值形式。 我有价值119710179这是数字但当它读取时间它显示cellvalue - 1.19710179E8
救救我!
This is my code:-
FileInputStream file = new FileInputStream(new File ("C:\\Documents and Settings\\Deepa\\Desktop\\AMC test cases1.xls"));
HSSFWorkbook workbook = new HSSFWorkbook(file);
HSSFSheet sheet = workbook.getSheet("Clinic Basic info");
WebElement creat_new_website =driver.findElement(By.className("createnew"));
creat_new_website.click();
driver.findElement(By.id("primaryno_m")).sendKeys(String.valueOf(sheet.getRow(13).getCell(4).getNumericCellValue()));