$ceil: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
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. | ||
== Examples == | == Examples == | ||
$ceil([[$pi]]) | $ceil([[$pi]]) ;will return ''4'' | ||
$ceil(-4 | $ceil(-4.99) ;will return ''-4'' | ||
== See Also == | == See Also == | ||
* [[$round]] | |||
[[$round]] | * [[$floor]] | ||
* [[$int]] | |||
[[Category:Text and Number Identifiers]] | [[Category:Text and Number Identifiers]] |