Difference between revisions of "Template:Convert/round"

From Teampedia
Jump to: navigation, search
(Created page with "<includeonly>{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{#expr:({{precision/2010|1{{{1}}}}}+{{{5}}}-0.5+(ln2/ln10))round0}}|{{#expr:1-{{Order of magnitude|{{{2}...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{#expr:({{precision/2010|1{{{1}}}}}+{{{5}}}-0.5+(ln2/ln10))round0}}|{{#expr:1-{{Order of magnitude|{{{2}}}}}}}}})}}}}}}</includeonly><noinclude>{{pp-template}}
+
<includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}|{{#expr:{{{2}}}>0}}}}}}</includeonly>
[[Category:Subtemplates of Template Convert]]{{pp-template|small=yes}}
+
</noinclude>
+

Latest revision as of 16:07, 11 April 2020