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: 2024/11/05
Converts a value to the float data type.
float(x)
x: a value of any type
x
float
See the reference for float for details about the precision and limitations of floating point numbers on Arduino.
LANGUAGE float