if
double d = 1.999e-4
I want my output to be 0.0001999.
How can I do it?
NumberFormat formatter = new DecimalFormat("###.#####");
String f = formatter.format(d);
You can explore the sub classes of NumberFormat
class to know more details.