Difference between revisions of "Template:Order of magnitude"

From Timelines
Jump to: navigation, search
(includeonly)
(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>

Revision as of 12:42, 18 August 2010

Template documentation[create]