| Index

| Reference for Wiring 1.0 (ALPHA) 0020+. 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 |  |
value |  | int, long, float, char, byte, or boolean
Returns |  | float
Usage |  | Application
Related |  | float int() long() char() byte()