Template:Ceiling

From Twilight Heroes Wiki
Revision as of 23:04, 8 September 2009 by Muhandes (talk | contribs) (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....)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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