NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Trunc"

From Liandri Archives

Jump to: navigation, search
m (output zero as "-")
m (didn't work)
 
Line 1: Line 1:
<onlyinclude>{{#ifexpr:{{{1|0}}}|{{#if:{{#pos:{{{1}}}|.}}|{{#sub:{{{1}}}|0|{{#expr:{{{2|-1}}}+1+{{#pos:{{{1}}}|.}}}}}}|{{{1}}}}}|-}}</onlyinclude>
+
<onlyinclude>{{#if:{{#pos:{{{1}}}|.}}|{{#sub:{{{1}}}|0|{{#expr:{{{2|-1}}}+1+{{#pos:{{{1}}}|.}}}}}}|{{{1}}}}}</onlyinclude>
 
{{documentation|content=Helper template for missing trunc expression in expr parser function.}}
 
{{documentation|content=Helper template for missing trunc expression in expr parser function.}}

Latest revision as of 10:02, 23 August 2011

{{{1}}}

Documentation

Helper template for missing trunc expression in expr parser function.