change double to string code example
Example 1: java convert double to string
double total = 44;
String total2 = Double.toString(total);
Example 2: double to string java
double number = -895.25;
String numberAsString = String.valueOf(number);
double total = 44;
String total2 = Double.toString(total);
double number = -895.25;
String numberAsString = String.valueOf(number);