casting a Double to a string in java code example Example: java convert double to string double total = 44; String total2 = Double.toString(total);