This shows you the differences between two versions of the page.
— |
ceil [2006/07/25 21:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $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:====== | ||
+ | <file> | ||
+ | $ceil(3.141593) returns "4" | ||
+ | $ceil(1.570796) returns "2" | ||
+ | $ceil(0) returns "0" | ||
+ | </file> | ||