Difference between revisions of "Template:Order of magnitude"

From Betting Wiki
Jump to navigation Jump to search
en>Jimp
(includeonly & code arrangement; no real change)
en>Jimp
(new code developed by Wikid77 which cuts the transclusion depth by 3 levels)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{1|0}}}=0<!--
+
<includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
                  -->|0<!--
+
  |{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}1=1
                  -->|{{order of magnitude/x<!--
+
      |0
                              -->|{{{1}}}<!--
+
      |{{{{{|safesubst:}}}#expr:floor((ln({{{1}}}1)/ln10)+1)}}
                              -->|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}<!--
+
    }}
                              -->}}<!--
+
  |{{{{{|safesubst:}}}#expr:floor((ln(abs({{{1}}}))/ln10)+1E-14)}}
                  -->}}</includeonly><noinclude>
+
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 23:24, 26 September 2012

50px Template documentation[create]