Template:Order of magnitude: Difference between revisions

m
default to zero, show output on template
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>
Anonymous user