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

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 November 01, 2009 12:41:46pm PST

Creative Commons License