Converting double to string double total = 44; String total2 = String.valueOf(total); This will convert double to String