Site Tools


ceil

# $EPIC: ceil.txt,v 1.2 2006/07/17 20:15:25 sthalik Exp $

Synopsis:

$ceil(<number>)

Technical:

Calculates the smallest integer that is greater than or equal to <number>

Returns:

The smallest integer that is greater than or equal to the argument, or nothing if no argument is specified.

Examples:

$ceil(3.141593)         returns "4"
$ceil(1.570796)         returns "2"
$ceil(0)                returns "0"
ceil.txt · Last modified: 2006/07/25 21:22 by 127.0.0.1