Template:Floor: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
New page: <includeonly>{{#if:{{{1|}}}|{{#expr:-{{ceiling|{{#expr:-{{{1}}}}}}}}}|}}</includeonly><noinclude> Borrowed from [http://kol.coldfront.net/thekolwiki/index.php/Template:Floor KoL wiki], thi...
 
No edit summary
 
Line 12: Line 12:
{{floor|-1.3}}
{{floor|-1.3}}


[[Category:Templates]]</noinclude>
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 08:59, 22 February 2010

Borrowed from KoL wiki, this is a template for taking the floor a number.

Examples

  • {{floor|37.3}}

37

  • {{floor|37}}

37

  • {{floor|{{#expr:.9*37}}}}

33

  • {{floor|-1.3}}

-2