NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Trunc"

From Liandri Archives

Jump to: navigation, search
m (output zero as "-")
Line 1: Line 1:
<onlyinclude>{{#if:{{#pos:{{{1}}}|.}}|{{#sub:{{{1}}}|0|{{#expr:{{{2|-1}}}+1+{{#pos:{{{1}}}|.}}}}}}|{{{1}}}}}</onlyinclude>
+
<onlyinclude>{{#ifexpr:{{{1|0}}}|{{#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.}}

Revision as of 07:00, 23 August 2011

-

Documentation

Helper template for missing trunc expression in expr parser function.