Files
processing4/web/reference/API/floor.xml
2005-01-27 06:48:42 +00:00

52 lines
686 B
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>floor()</name>
<category>Math</category>
<subcategory>Calculation</subcategory>
<usage>Web &amp; Application</usage>
<example>
<image></image>
<code>
float x = 2.88;
float a = floor(x); // Set "a" to 2.0
</code>
</example>
<description>
Calculates the closest value that is less than or equal to the value of the parameter.
</description>
<syntax>
floor(<c>value</c>)
</syntax>
<parameter>
<label>value</label>
<description>float</description>
</parameter>
<returns>float</returns>
<related>
ceil()
</related>
<availability>1.0</availability>
<type>Function</type>
<partof>PDE</partof>
</root>