
<A NAME=CEILING>

<TITLE>CEILING</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>CEILING</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
 <P> <H3> 
syntax: </H3>
<em>ceiling</em>(&lt;expression&gt;) 
<P>
<P>
<P>
This operator returns the ceiling (i.e., the least integer greater than or 
equal to its argument) if its argument has a numerical value. For 
negative numbers, this is equivalent to 
<A HREF=r37_0082.html>fix</A>. For non-numeric 
arguments, the value is an expression in the original operator. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
ceiling 3.4; 

  4 


fix 3.4; 

  3 


ceiling(-5.2); 

  -5 


fix(-5.2); 

  -5 


ceiling a; 

  CEILING(A)

</TT></PRE><P>