Difference between revisions of "Template:Rnd"
From MINR.ORG WIKI
Line 1: | Line 1: | ||
− | <includeonly>{{#iferror:{{{2}}}|{{ | + | <includeonly>{{#iferror:{{#expr:{{{2}}}}}|{{rndnear|{{{1}}}|1E{{#expr:2-{{order of magnitude|{{{1}}}}}}}}}|{{formatnum: |
{{#ifexpr:({{{1|0}}})round({{{2|0}}})>=0.0001 | {{#ifexpr:({{{1|0}}})round({{{2|0}}})>=0.0001 | ||
|{{#ifexpr:({{{1}}})round({{{2}}})<1E9 | |{{#ifexpr:({{{1}}})round({{{2}}})<1E9 | ||
Line 56: | Line 56: | ||
}} | }} | ||
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |