Reference for Wiring version 0027+. 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

long()

Examples
long i = long(245.456);
Description Converts a primitive datatype to long integer representation.
Syntax
long(value)
Parameters
value int, long, float, char, byte or boolean
Returns long
Usage Application
Related long
int()
float()
char()
byte()
boolean()
Updated on September 16, 2010 09:16:15pm PDT

Creative Commons License