Template:Rnd: Difference between revisions

    From Nonbinary Wiki
    m>Huntster
    (applying fix per Jimp.)
    m>PeterSymonds
    (reformat code per talk)
    Line 1: Line 1:
    <includeonly>{{rnd/e{{#expr:(abs({{{1}}}round{{{2}}})<0.0001)+(abs({{{1}}}round{{{2}}})>=100000)-({{{1}}}=0)}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{pp-template}}
    <includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}</includeonly><noinclude>{{pp-template}}
    {{template doc}}
    {{template doc}}
    </noinclude>
    </noinclude>

    Revision as of 06:54, 10 July 2008