The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
Last Revision: Searching...
Last Build: 2021/09/28
Converts a value to the float data type.
x: a value of any type
See the reference for float for details about the precision and limitations of floating point numbers on Arduino.