Difference between revisions of "Template:Rnd"

From Teampedia
Jump to: navigation, search
(Replaced content with "<includeonly>{{#iferror:{{#expr:{{{2|0}}}}} | | {{{1}}} | 1-{{ordomag|{{{1}}}}} }}| | {{{1}}} | {{{2|0}}}}}}}</includeonly><noinclude> {{documentation}} </noinclude>")
Line 1: Line 1:
<includeonly>{{#iferror:{{#expr:{{{2|0}}}}} |
+
{{formatnum:{{#ifexpr:(({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})>=0.0001
   | {{{1}}} | 1-{{ordomag|{{{1}}}}} }}|
+
| {{#ifexpr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})<1E9
| {{{1}}} | {{{2|0}}}}}}}</includeonly><noinclude>
+
  | {{#ifexpr:((({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})E-5round0)E5=(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})
{{documentation}}
+
    | {{#ifexpr:({{{2|0.01}}})round0=({{{2|0.01}}})
</noinclude>
+
      | {{#expr:(({{{1|1234.5678}}})/({{{2|1}}})round0)*({{{2|1}}}E-5}})00000
 +
      | {{#expr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})E-5}}0000{{Rnd/-|0|{{Precision|{{{2|0.01}}}}}}}
 +
      }}
 +
    | {{#ifexpr:({{{2|0.01}}})round0=({{{2|0.01}}})
 +
      | {{#expr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}
 +
      | {{Rnd/-|{{#expr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}}}
 +
      }}
 +
    }}
 +
   | {{Rnd/e+|{{#expr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}|{{Order of magnitude|{{#expr:(({{{1|1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}}}}}
 +
  }}
 +
| {{#ifexpr:(({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})<=-0.0001
 +
  | {{#ifexpr:(({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})>-1E9
 +
    | {{#ifexpr:((({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})E-5round0)E5=(({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})
 +
      | {{#ifexpr:({{{2|0.01}}})round0=({{{2|0.01}}})
 +
        | −{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})E-5}}00000
 +
        | −{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})E-5}}0000{{Rnd/-|0|{{Precision|{{{2|0.01}}}}}}}
 +
        }}
 +
      | {{#ifexpr:({{{2|0.01}}})round0=({{{2|0.01}}})
 +
        | −{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}
 +
        | −{{Rnd/-|{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}}}
 +
        }}
 +
      }}
 +
    | −{{Rnd/e+|{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}|{{Order of magnitude|{{#expr:(-({{{1|-1234.5678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}}}}}
 +
    }}
 +
  | {{#ifexpr:(({{{1|-0.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})=0
 +
    | {{#ifexpr:({{{2|0.01}}})round0=({{{2|0.01}}})
 +
      | 0
 +
      | {{Rnd/-|0|{{Precision|{{{2|0.01}}}}}}}
 +
      }}
 +
    | {{#ifexpr:(({{{1|-.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})>0
 +
      | {{Rnd/e−|{{#expr:(({{{1|.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}|{{Order of magnitude|(({{{1|-.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}}}
 +
      | −{{Rnd/e−|{{#expr:(-({{{1|-.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}|{{Precision|{{{2|0.01}}}}}|{{Order of magnitude|{{#expr:(-({{{1|-.005678}}})/({{{2|0.01}}})round0)*({{{2|0.01}}})}}}}}}
 +
      }}
 +
    }}
 +
  }}
 +
}}}}<noinclude>{{Documentation}}</noinclude>

Revision as of 14:26, 11 April 2020

−1,234.57Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage

See also

The above documentation is transcluded from Template:Rnd/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.