Template:Order of magnitude: Difference between revisions

    From Nonbinary Wiki
    m>MSGJ
    m (update after move)
    m (30 revisions imported from templatewiki:Template:Order_of_magnitude)
     
    (6 intermediate revisions by 3 users not shown)
    Line 1: Line 1:
    {{#ifexpr:{{{1|0}}}=0
    <includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
    |0
      |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1
    |{{order of magnitude/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}
          |0
    }}<noinclude>
          |{{{{{|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}}
    {{documentation}}
    </noinclude>
    </noinclude>

    Latest revision as of 09:59, 16 November 2019

    Template documentation[create]