Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name | long() |
||
---|---|---|---|
Examples | long i = long(245.456); // sets i to 245 // equivalent to the cast operator long i = (long) 245.456; // sets i to 245 |
||
Description | Converts a primitive datatype to long integer representation. This equivalent to the cast operator (long). | ||
Syntax | long(value) (long) value |
||
Parameters |
|
||
Returns | long | ||
Usage | Application | ||
Related | long int() float() char() byte() |