|
Sep
05
|
Use static method Double.toString()
double d = 123.456; String s = java.lang.Double.toString(d); // An alternative would be to // use the following string concatenation String s2 = "" + d;
|
|
Use static method Double.toString() double d = 123.456; String s = java.lang.Double.toString(d); // An alternative would be to // use the following string concatenation String s2 = "" + d; Leave a Reply |
|
Recent Comments