Difference between revisions of "Template:Round"

From Betting Wiki
Jump to navigation Jump to search
en>PeterSymonds
(reformat code per talk)
en>CapitalR
(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 09:58, 17 March 2009