.. _arduino-floatcast: float() ======= Description ----------- Converts a value to the `float `_ data type. Syntax ------ float(x) Parameters ---------- x: a value of any type Returns ------- float Notes ----- See the reference for `float `_ for details about the precision and limitations of floating point numbers on Arduino. See also -------- - `float `_