Template:Order of magnitude: Difference between revisions

m>Jimp
(Undid revision 161825683 by Jimp (talk) undo test)
m (30 revisions imported from templatewiki:Template:Order_of_magnitude)
 
(19 intermediate revisions by 12 users not shown)
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>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
  |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1
      |0
      |{{{{{|safesubst:}}}#expr:floor((ln(abs{{{1}}}1)/ln10)+1)}}
    }}
  |{{#expr:floor((ln(abs({{{1|0}}}) )/ln 10)+1E((abs{{{1|0}}}>1E100 or abs{{{1|0}}}<1E-100)-14))}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 09:59, 16 November 2019

Template documentation[create]