Difference between revisions of "Template:Convert/round"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{precision/+|1{{{1}}}}}+({{{5}}}-0.1989700043)round0|1-{{ordomag|{{{2}}}}}}})}}}}}}<noinclude>
+
{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{#expr:({{precision|1{{{1}}}}}+{{{5}}}-0.5+(ln2/ln10))round0}}|{{#expr:1-{{ordomag|{{{2}}}}}}}}})}}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
+
[[Category:Subtemplates of Template Convert]]{{pp-template|small=yes}}
 
</noinclude>
 
</noinclude>

Revision as of 19:04, 1 July 2010

Expression error: Unrecognized punctuation character "{".