检索它以大数字的指数格式给出的值.
while (cells.hasNext ())
{
HSSFCell cell = cells.next ();
System.out.println ("Cell No.: " + cell.getCellNum ());
/*
* Now we will get the cell type and display the values
* accordingly.
*/
switch (cell.getCellType ())
{
case HSSFCell.CELL_TYPE_NUMERIC :
{
// cell type numeric.
System.out.println ("Numeric value: " + cell.getNumericCellValue());
break;
}
Run Code Online (Sandbox Code Playgroud)
它给出数字大于7eg的数字的值.(12345678),如指数.你帮我以相同的格式得到值.