Skin
Game Sections
- Unreal
- Unreal: RTNP
- Unreal II
- Unreal Tournament
- UT2003
- UT2004
- Unreal Tournament 3
- Unreal Championship
- Unreal Championship 2
Personal tools
Difference between revisions of "Template:Trunc"
From Liandri Archives
(workaround for expr function not supporting trunc operator) |
m |
||
Line 1: | Line 1: | ||
− | <onlyinclude>{{#if:{{#pos:{{{1}}}|.}}|{{#sub:{{{1}}}|0|{{#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.}} |