java convert double to string

Java
double total = 44;
String total2 = Double.toString(total);double number = -895.25;
String numberAsString = String.valueOf(number);
Source

Also in Java: