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