Template:Order of magnitude: Difference between revisions
m>Jimp |
m>Sladen (Add, <strong>Note</strong>, this macro will currently underflow on zero, causing an error message to be returned instead of the value 0 (zero).) |
||
Line 1: | Line 1: | ||
<includeonly>{{Ordomag/+|{{#ifexpr:{{{1}}}<0|-}}{{{1}}}}}</includeonly><noinclude>This template calculates the (decimal) order of magnitude of numbers within the ranges 10<sup>66</sup> to 10<sup>-66</sup> and -10<sup>-66</sup> to -10<sup>66</sup>.</noinclude> | <includeonly>{{Ordomag/+|{{#ifexpr:{{{1}}}<0|-}}{{{1}}}}}</includeonly><noinclude>This template calculates the (decimal) order of magnitude of numbers within the ranges 10<sup>66</sup> to 10<sup>-66</sup> and -10<sup>-66</sup> to -10<sup>66</sup>. | ||
<strong>Note</strong>, this macro will currently underflow on zero, causing an error message to be returned instead of the value 0 (zero).</noinclude> |
Revision as of 19:06, 4 February 2008
This template calculates the (decimal) order of magnitude of numbers within the ranges 1066 to 10-66 and -10-66 to -1066.
Note, this macro will currently underflow on zero, causing an error message to be returned instead of the value 0 (zero).