Template:Ceiling: Difference between revisions
Jump to navigation
Jump to search
New page: <includeonly>{{#if:{{{1|}}}|{{#ifexpr:{{{1}}} = {{#expr:{{{1}}} round 0}}|{{#expr:{{{1}}} round 0}}|{{#expr:{{{1}}} + 0.5 round 0}}}}|}}</includeonly><noinclude> Borrowed from [http://kol.... |
No edit summary |
||
Line 14: | Line 14: | ||
{{ceiling|1.0}} | {{ceiling|1.0}} | ||
[[Category: | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 07:04, 9 September 2009
Borrowed from KoL wiki, this is a template for taking the ceiling of a number.
Examples
- {{ceiling|37.3}}
38
- {{ceiling|37}}
37
- {{ceiling|{{#expr:.9*37}}}}
34
- {{ceiling|-1.3}}
-1
- {{ceiling|1.0}}
1