Converting exponential value in java to a number format

java

Solution

You can convert as follows, for example:

new BigDecimal("406770000244E+12").toBigInteger();

Problem

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 this is not the real number what i given. Can any body help me out in this. How can i convert the above exponential form to original number using java language. Thanks in advance

Original source

Related problems