Difference between revisions of "Template:Order of magnitude"

From Timelines
Jump to: navigation, search
(includeonly & code arrangement; no real change)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{1|0}}}=0<!--
+
<includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
                  -->|0<!--
+
  |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1
                  -->|{{order of magnitude/x<!--
+
      |0
                              -->|{{{1}}}<!--
+
      |{{{{{|safesubst:}}}#expr:floor((ln(abs{{{1}}}1)/ln10)+1)}}
                              -->|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}<!--
+
    }}
                              -->}}<!--
+
  |{{#expr:floor((ln(abs({{{1|0}}}) )/ln 10)+1E((abs{{{1|0}}}>1E100 or abs{{{1|0}}}<1E-100)-14))}}
                  -->}}</includeonly><noinclude>
+
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:13, 11 November 2012

Template documentation[create]