I am trying to read the values from excel sheet using java. When i type more than 10 letters in a cell in excel it is displaying in exponential form like \"9.78313E+2\". but
You can convert easily with the following methods:
Double.valueOf("9.78313E+2").longValue() or
Double.valueOf("9.78313E+2").longValue()
BigDecimal bd = new BigDecimal("9.78313E+2"); long val = bd.longValue();
Assuming that the given number is in a String form.