Template:Order of magnitude: Difference between revisions

    From Nonbinary Wiki
    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).)
    m>Jimp
    (move to doc)
    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>.
    {{Ordomag/+|{{#ifexpr:{{{1}}}<0|-}}{{{1}}}}}<noinclude>{{ordomag/doc}}</noinclude>
     
    <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 23:58, 4 February 2008