Template:Order of magnitude: Difference between revisions

    From Nonbinary Wiki
    m>HJ Mitchell
    (handling for 0 per talk page)
    m>MSGJ
    m (default to zero, show output on template)
    Line 1: Line 1:
    <includeonly>{{#ifexpr:{{{1}}}=0|0|{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}}}</includeonly><noinclude>
    {{#ifexpr:{{{1|0}}}=0
    |0
    |{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}
    }}<noinclude>
    {{documentation}}
    {{documentation}}
    </noinclude>
    </noinclude>

    Revision as of 13:30, 20 August 2010

    0

    Template documentation[create]