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,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<root>
|
||||
<name>abs()</name>
|
||||
|
||||
<category>Math</category>
|
||||
|
||||
<subcategory>Calcuation</subcategory>
|
||||
|
||||
<usage>Web & Application</usage>
|
||||
|
||||
<example>
|
||||
<image></image>
|
||||
<code>
|
||||
int a = abs(153); // Sets a to 153
|
||||
int b = abs(-15); // Sets b to 15
|
||||
float c = abs(12.234); // Sets c to 12.234
|
||||
float d = abs(-9.23); // Sets d to 9.23
|
||||
</code>
|
||||
</example>
|
||||
|
||||
<description>
|
||||
Calculates the absolute value (magnitude) of a number. The absolute value of a number is always positive.
|
||||
</description>
|
||||
|
||||
<syntax>
|
||||
abs(<c>value</c>)
|
||||
</syntax>
|
||||
|
||||
<parameter>
|
||||
<label>value</label>
|
||||
<description>float or int</description>
|
||||
</parameter>
|
||||
|
||||
<returns>float or int (depending on the input values)</returns>
|
||||
|
||||
<related></related>
|
||||
|
||||
<availability>1.0</availability>
|
||||
|
||||
<type>Function</type>
|
||||
|
||||
<partof>PDE</partof>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</root>
|
||||
Reference in New Issue
Block a user