Template:Order of magnitude: Difference between revisions

handling for 0 per talk page
m>Plastikspork
(includeonly)
m>HJ Mitchell
(handling for 0 per talk page)
Line 1: Line 1:
<includeonly>{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}</includeonly><noinclude>
<includeonly>{{#ifexpr:{{{1}}}=0|0|{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymous user