Arduino: Float to String how to
For the following instructions we assume that you have already defined a float Variable. For example, with the command "float test = 12.4;".
- This Variable and convert it to a String, you will need a new String Variable. You can define, for example, with the command "String test2;".
- The String of floats of the String Variable to assign, you simply place the command "test2 = String(test);" is executed.
- So you can floating point numbers easily in the strings and convert it to, for example, on a Display output.

The Arduino Uno (Source: Pixabay)
In the next practical tip we will show you how you LEDs with the Arduino controlled can.
