Reference for Wiring version 0024+. 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 | int() |
||
---|---|---|---|
Examples | int i = int(245.456); |
||
Description | Converts a primitive datatype to its integer representation. | ||
Syntax | int(value) |
||
Parameters |
|
||
Returns | int | ||
Usage | Application | ||
Related | int long() float() char() byte() boolean() |