mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Initial mobile website check in
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>char()</name>
|
||||
|
||||
<category>Data</category>
|
||||
|
||||
<subcategory>Conversion</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image></image>
|
||||
<code>
|
||||
int i = 65;
|
||||
char c = char(i);
|
||||
println(i + " : " + c); // Prints "65 : A"
|
||||
|
||||
float f = 72.4;
|
||||
c = char(f);
|
||||
println(f + " : " + c); // Prints "72.4 : H"
|
||||
|
||||
boolean b = true;
|
||||
c = char(b);
|
||||
println(b + " : " + c); // Prints "true : t"
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Converts a primitive datatype, string, or array to a numeric character representation.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
char(<c>val</c>)
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>val</label>
|
||||
<description>int, float, byte, boolean, String, int[], float[], byte[], boolean[], String[]</description>
|
||||
</parameter>
|
||||
|
||||
<returns>char</returns>
|
||||
|
||||
<related>
|
||||
char
|
||||
int()
|
||||
float()
|
||||
byte()
|
||||
</related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Function</type>
|
||||
|
||||
<partof>IDE</partof>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user