Difference between revisions of "Template:Convert/round"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(use precision/2010 unitl we get get algorithm working properly)
Line 1: Line 1:
{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{#expr:({{precision|1{{{1}}}}}+{{{5}}}-0.5+(ln2/ln10))round0}}|{{#expr:1-{{Order of magnitude|{{{2}}}}}}}}})}}}}}}<noinclude>
+
{{#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}}}}}}}}})}}}}}}<noinclude>
 
[[Category:Subtemplates of Template Convert]]{{pp-template|small=yes}}
 
[[Category:Subtemplates of Template Convert]]{{pp-template|small=yes}}
 
</noinclude>
 
</noinclude>

Revision as of 00:10, 25 June 2011

Expression error: Unrecognized punctuation character "{".