Take a look at the Arduino String tutorial here . The code below was taken from this example.
stringOne = String(45, HEX);
Serial.println(stringOne);
Many other examples are presented on this page, although I think for floating point numbers you will have to collapse your own.
source
share