Difference between revisions of "Template:Ceiling"
From Twilight Heroes Wiki
(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....) |
|
(2 intermediate revisions by the same user not shown) | |
(No difference)
|
Latest revision as of 00:57, 22 February 2010
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