Difference between revisions of "$ceil"
From Scriptwiki
(typo) |
|||
Line 3: | Line 3: | ||
$ceil(N) | $ceil(N) | ||
− | * ''N'' is the number you want | + | * ''N'' is the number you want to round up to its next integer of. |
== Examples == | == Examples == |
Revision as of 12:57, 5 September 2005
Returns N rounded to the next highest integer.
$ceil(N)
- N is the number you want to round up to its next integer of.
Examples
$ceil($pi) - will return 4 $ceil(-4,99) - will return -4