Reference+
Name
char()
Description
Converts any value of a primitive data type (boolean, byte, char, color, double, float, int, or long) to its numeric character representation.
When an array of values is passed in, then a char array of the same length is returned.
Examples
int i = 65; char c = char(i); println(i + " : " + c); // Prints "65 : A" byte b = 65; c = char(b); println(b + " : " + c); // Prints "65 : A"
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.