Double value changed

Hi experts,

I have strange problem in java. The format value changed. See the below line:
double interFaceFee = (Double.parseDouble("80000000.0"));

Open in new window

I expected the out put to be 80000000.0 as double value but the actual output is 8.0E7 !!
Is this parsing is incorrect or there is better way to parse?
Ahmed MerghaniSoftware EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

System.out.printf("%.1f%n", interFaceFee);

Open in new window

is one way of taking control of the format
Ahmed MerghaniSoftware EngineerAuthor Commented:
Thanks CEHJ for your response. I need the value to be store in a parameter in this format not to output it to the console.
String val = String.format("%.1f%n", interFaceFee);

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ahmed MerghaniSoftware EngineerAuthor Commented:
CEHJ thanks again for your response but I need the returned value as double.
A double doesn't have a format, it's a number, so that doesn't make any sense. Only strings have formats.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.