Difference between revisions of "Template:Rnd"

From MINR.ORG WIKI
(Applying changes per request from User:Jimp on this template's talk page and per communication on my own talk.)
(applying fix per Jimp.)
Line 1: Line 1:
<includeonly>{{rnd/e{{#expr:(({{{1}}}round{{{2}}})<0.0001)+(({{{1}}}round{{{2}}})>=1000000)}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{pp-template}}
+
<includeonly>{{rnd/e{{#expr:(abs({{{1}}}round{{{2}}})<0.0001)+(abs({{{1}}}round{{{2}}})>=100000)-({{{1}}}=0)}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{pp-template}}
 
{{template doc}}
 
{{template doc}}
 
</noinclude>
 
</noinclude>

Revision as of 08:21, 4 July 2008