Framework (A-Z)

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

char()

Examples
char c = char(126);  // prints the character ˜

// equivalent to the cast operator

char c = (char) 126; // prints the character ˜
Description Converts a primitive datatype to a numeric character representation. This equivalent to the cast operator (char).
Syntax
char(val)
(charval
Parameters
val int, long, float, char, byte, or boolean
Returns char
Usage Application
Related char
int()
long()
float()
byte()
Updated on July 07, 2011 11:08:00pm PDT

Creative Commons License