Template:Ceil: Difference between revisions

From Vigyanwiki
Template>Siebrand
(noinclude)
Template>Eliyak
(copied shorter code from Template:Floor with minor modification)
Line 1: Line 1:
<includeonly>{{#ifexpr:({{{1}}})=(({{{1}}})round 0)|{{#expr:{{{1}}}}}|{{#ifexpr:({{{1}}})>0|{{#expr:((({{{1}}})+0.5)round 0)}}|{{#expr:1-((0.5-({{{1}}}))round 0)}}}}}}</includeonly><noinclude>{{Template doc}}[[fr:Modèle:Ceil]]
<includeonly>{{{{{subst|}}}#expr: (({{{1}}}){{{{{subst|}}}#ifexpr: {{{1}}}!=({{{1}}}round 0)|+0.5 round 0}})+0}</includeonly><noinclude>{{Template doc}}[[fr:Modèle:Ceil]]
[[nl:Sjabloon:Ceil]]
[[nl:Sjabloon:Ceil]]
</noinclude>
</noinclude>

Revision as of 06:08, 12 July 2007

Template documentation