How do I print a double value without scientific notation using Java?

前端 未结 14 851
一整个雨季
一整个雨季 2020-11-21 11:52

I want to print a double value in Java without exponential form.

double dexp = 12345678;
System.out.println(\"dexp: \"+dexp);

It shows this

14条回答
提交回复
热议问题