> Can anyone tell me how do i convert a string contianing exponential
> number to decimal/float number?
> Is there any built in method for doing this?
Can you give an example of a string you want to convert?
Patricia
> Can anyone tell me how do i convert a string contianing exponential
> number to decimal/float number?
> Is there any built in method for doing this?
If I understand what you are asking for,
double d = Double.parseDouble("1.23e+4");
fills the bill.

Signature
Eric Sosman
esosman@acm-dot-org.invalid
Daniel Pitts - 10 Jan 2007 22:15 GMT
> > Can anyone tell me how do i convert a string contianing exponential
> > number to decimal/float number?
[quoted text clipped - 9 lines]
> Eric Sosman
> esosman@acm-dot-org.invalid
Or, if its a constant string, why bother parsing at all?
double d = 1.23e+4;