Difference between revisions of "Template:Ceiling"

From Twilight Heroes Wiki
Jump to: navigation, 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....)
 
Line 14: Line 14:
 
{{ceiling|1.0}}
 
{{ceiling|1.0}}
  
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:04, 8 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