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) (char) val |
||
Parameters |
|
||
Returns | char | ||
Usage | Application | ||
Related | char int() long() float() byte() |