|
|
Line 1: |
Line 1: |
− | {{#ifexpr: {{{2<noinclude>|1234.5678</noinclude>}}}=0
| + | <includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}|{{#expr:{{{2}}}>0}}}}}}</includeonly> |
− | | 0
| + | |
− | | {{formatnum:{{Rnd
| + | |
− | | 1 = {{{2<noinclude>|1234.5678</noinclude>}}}
| + | |
− | | 2 = {{Max/2
| + | |
− | | 1 = {{#expr:({{Precision
| + | |
− | | 1 = 1{{{1<noinclude>|2</noinclude>}}}
| + | |
− | }})+({{{5<noinclude>|0</noinclude>}}})-0.5+ln2/ln10round0}}
| + | |
− | | 2 = {{#expr:1-{{Order of magnitude
| + | |
− | | 1 = {{{2<noinclude>|1234.5678</noinclude>}}}
| + | |
− | }}}}
| + | |
− | }}
| + | |
− | }}}}
| + | |
− | }}<noinclude>
| + | |
− | | + | |
− | <!--{{pp-template|small=yes}}-->
| + | |
− | {{Documentation|content=
| + | |
− | == Usage ==
| + | |
− | * "{{T|Convert/round|1|1234.5678}}" gives "{{Convert/round|1|1234.5678}}".
| + | |
− | | + | |
− | [[Category:Subtemplates of Template Convert]]
| + | |
− | }}</noinclude> | + | |