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

52 lines
742 B
XML

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