Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
| Name | float() |
||
|---|---|---|---|
| Examples | float f = float(true); |
||
| Description | Converts a primitive datatype to its floating point representation. | ||
| Syntax | float(value) |
||
| Parameters |
|
||
| Returns | float | ||
| Usage | Application | ||
| Related | float int() long() char() byte() |

