Difference between revisions of "Template:Rnd"

From MINR.ORG WIKI
(reformat code per talk)
(updating per request)
Line 1: Line 1:
<includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}</includeonly><noinclude>{{pp-template}}
+
<includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}|{{#expr:{{{2}}}>0}}}}}}</includeonly><noinclude>{{pp-template}}
{{template doc}}
+
{{doc}}
 
</noinclude>
 
</noinclude>

Revision as of 10:58, 17 March 2009