a port of the Processing Visualization Language
Name

char()

Examples
int i = 65;

char c = char(i);

println(i + " : " + c);  // Prints "65 : A"



byte b = 65;

char c = char(b);

println(b + " : " + c);  // Prints "65 : 65"
Description Converts a primitive datatype or array to a numeric character representation.
Syntax
char(val)
Parameters
val int, byte, int[], byte[]
Returns char
Usage Web & Application
Related char
int()
float()
byte()

This reference is licensed under the CC BY-NC-SA 2.0 license:

Creative Commons License
Fork me on GitHub