Jump to content

Template:Rnd: Difference between revisions

1,977 bytes added ,  12 years ago
copy the new version from the sandbox
m>Jimp
(<includeonly></includeonly>)
m>Jimp
(copy the new version from the sandbox)
Line 1: Line 1:
<includeonly>{{formatnum:{{rnd/b{{#expr:( ({{{1|9.4}}})round({{{2|3}}}) >0 )-( ({{{1|9.4}}})round({{{2|3}}}) <0 )}}|{{#expr: ({{{1|9.4}}})round({{{2|3}}}) }}|{{{2|3}}}|{{#expr:{{{2|3}}}>0}} }} }}</includeonly><noinclude>
<includeonly>{{formatnum:
  {{#ifexpr:({{{1|0}}})round({{{2|0}}})>=0.0001
    |{{#ifexpr:({{{1}}})round({{{2}}})<1E9
        |{{#ifexpr:<!--
-->{{#expr:(({{{1}}})round({{{2}}})/1E5round0)E5}}={{#expr:({{{1}}})round({{{2}}})}}
          |{{#ifexpr:{{{2}}}<=0
              |{{#expr:({{{1}}})round({{{2}}})E-5}}00000
              |{{#expr:({{{1}}})round({{{2}}})E-5}}0000{{rnd/-|0|{{{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}}})}}}}}}
      }}
    |{{#ifexpr:({{{1|0}}})round({{{2|0}}})<=-0.0001
        |{{#ifexpr:({{{1}}})round({{{2}}})>-1E9
          |{{#ifexpr:<!--
-->{{#expr:(({{{1}}})round({{{2}}})/1E5round0)E5}}={{#expr:({{{1}}})round({{{2}}})}}
              |{{#ifexpr:{{{2}}}<=0
                |−{{#expr:-({{{1}}})round({{{2}}})E-5}}00000
                |−{{#expr:-({{{1}}})round({{{2}}})E-5}}0000{{rnd/-|0|{{{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}}})}}}}}}
        }}
        |{{#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}}
{{documentation}}
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.