Just like in subject: i've got double like this:
2.52E-5
what i need is this:
0.0000252
and my only idea how to do it is make sth like this:
public Double change(Double d){
String do = Double.toString(d);
String[] a = do.split("E");
double b = Double.parseDouble(a[0]);
double c = Double.parseDouble(a[1]);
Double result = (Double)Math.pow(b, c);
return result;
}
But I'm just curious if there is already a ready method