Changes

Jump to navigation Jump to search

Template:Round

1,993 bytes removed, 18:02, 23 February 2013
try Lua conversion with error trapping and tracking category to deal with prior problem without disrupting existing pages
<includeonly>{{#iferror:{{#expr:{{{2}}}}}|{{rndnear|{{{1}}}|1E{{#expr:{{order of magnitude|{{{1}}}}}-1}}}}|{{formatnum: {{#ifexpr:({{{1|0}}})round({{{2|0}}})>=0.0001 |{{#ifexpr:({{{1}}})round({{{2}}})<1E9 |{{#ifexpr:<!-- -->{{#expr[[Category:(({Pages with bad rounding precision]]{{1}}})round({{{2}}})/1E5round0)*1E5}}={{#expr:({{{1}}})round({{{2}}})}} hid|{{#ifexpr:{{{2}Bad rounding here}}<=0 |{{#expr:({{{1}}})round({{{2}}})E!--5}}00000 |{{#expr:({{{1}}})round({{{2}}})E -5}}0000{{rnd/-|0|{{{2}}}}} }} |{{#ifexpr:{{{2}}}<=0 |>{{#exprinvoke:({{{1}}})round({{{2}}})}} Math|{{rnd/-precision_format|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}} }} }} |{{rnd/e+ |{{#expr:({{{1}}})round(-{{{2}}})}} |{{{2}}} |{{Order order of magnitude|{{#expr:({{{1}}})round({{{2}}})}}}}}} }} |{{#ifexpr:({{{1|0}}})round({{{2|0}}})<=-0.0001 |{{#ifexpr:({{{1}}})round({{{2}}})>-1E9 |{{#ifexpr:<!-- -->{{#expr:(({{{1}}})round({{{2}}})/1E5round0)*1E5}}={{#expr:({{{1}}})round({{{2}}})}} |{{#ifexpr:{{{2}}}<=0 |−{{#expr:-({{{1}}})round({{{2}}})E-5}}00000 |−{{#exprinvoke:-({{{1}}})round({{{2}}})E-5}}0000{{rnd/-|0Math|{{{2}}}}} }} |{{#ifexpr:{{{2}}}<=0 |−{{#expr:-({{{1}}})round({{{2}}})}} |−{{rnd/-|-{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}} }} }} |−{{rnd/e+ |-{{#expr:({{{1}}})round({{{2}}})}} |{{{2}}} |{{Order of magnitude|{{#expr:({{{1}}})round({{{2}}})}}}}}} }} precision_format|{{#ifexpr:({{{1|0}}})round({{{2|0}}})=0 |{{#ifexpr:{{{2|0}}}<=0 |0 |{{rnd/-|0|{{{2}}}}} }} |{{#ifexpr:({{{1}}})round({{{2}}})>0 |{{rnd/e− |{{#expr:({{{1}}})round({{{2}}})}} |{{{2}}} |{{Order of magnitude|({{{1}}})round({{{2}}})}} }} |−{{rnd/e− |-{{#expr:({{{1}}})round({{{2}}})}} |{{{2}}} |{{Order of magnitude|{{#expr:({{{1}}})round({{{2}}})}}}} }} }} }} }} }}}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu