Template:Order of magnitude: Difference between revisions

Add, <strong>Note</strong>, this macro will currently underflow on zero, causing an error message to be returned instead of the value 0 (zero).
m>Jimp
(Undid revision 161825683 by Jimp (talk) undo test)
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>
Anonymous user