Table of Contents

Ceil

Format

ceil ( expression )

Description

Returns the lowest integer that is greater than or equal to expression.

See Also

Example

print ceil(9.1)
print ceil(-5.4)

will print

10
-5
 
en/ceil.txt · Last modified: 2010/07/01 05:40 by renejm
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki