Double to String?? How??

Hello I'm new in this and I wanna know how I do to convert a double variable to string??

What I want is this: I got a variable string and I want to add the information that is a double variable

----> something like : The voltage is = 5.32 V.

My first variable is a string one and is this : frame = "The voltage is = ", and the second one is a double one and is ---> X = analogRead(xpin)

I want to do something like -------------> frame += X

SOMETHING LIKE THAT.......................Somebody can help me?

Depends on if you're using a cstring (char*) or a String object (string)

The easier way is to use the String object: (http://www.arduino.cc/en/Reference/String[/ur])

  String frame = "The voltage is = " + String(analogRead(xpin), DEC) + " V\r\n";

With char*:

  char frame[30];
  sprintf(frame, "The voltage is = %.02f V.\r\n", analogRead(xpin));

Uh.... analogRead() returns an unsigned long integer, not a double (double-precision float).

I thought the analogRead was an example... or not?