You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary><glossarytag="return">Returns</glossary> the smallest integer greater than or equal to number.</summary>
<examples>
<example>ceil(33.567) -- result is 34</example>
<example>ceil(-6.3) -- result is -6</example>
</examples>
<history>
<introducedversion="6.7">Added.</introduced>
<deprecatedversion=""></deprecated>
<removedversion=""></removed>
<experimentalversion=""></experimental>
<nonexperimentalversion=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<classification>
<category>Math, Logic, & Dates</category>
</classification>
<references>
<functiontag="abs">abs Function</function>
<functiontag="trunc">trunc Function</function>
<functiontag="floor">floor Function</function>
</references>
<description>Use the <b>ceil</b> <control_sttag="function">function</control_st> to return the greatest integer less than or equal to a number.<p></p><p><b>Parameters:</b></p><p>The <i>number</i> is any number, or <glossarytag="expression">expression</glossary> that <glossarytag="evaluate">evaluates</glossary> to a number.</p><p></p><p><b>Value:</b></p><p>The <b>ceil</b> <control_sttag="function">function</control_st> <glossarytag="return">returns</glossary> an <keywordtag="integer">integer</keyword>.</p><p></p><p><b>Comments:</b></p><p>The <b>ceil</b> function does not always <constanttag="return">return</constant> the <keywordtag="integer">integer</keyword> closest to the <i>number</i>.. For example, ceil(5.1) <glossarytag="return">returns</glossary> 6, but ceil(4.99) <glossarytag="return">returns</glossary> 5.</p></description>