Convert from double to String in Java
Description
The following code shows how to convert from double to String.
Example
//ww w. j a v a 2s . co m
public class Main {
public static void main(String[] args) throws Exception {
String str = Double.toString(23);
System.out.println(str);
}
}
The code above generates the following result.
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »