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