double to string java

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