Difference between revisions of "Template:Order of magnitude"

From MINR.ORG WIKI
(Updating per User:Jimp to fix an error.)
m (29 revisions imported: Imported Category TOC from wikipedia)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}<noinclude>
+
<includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0
{{pp-template|small=yes}}
+
  |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1
 +
      |0
 +
      |{{{{{|safesubst:}}}#expr:floor((ln(abs{{{1}}}1)/ln10)+1)}}
 +
    }}
 +
  |{{#expr:floor((ln(abs({{{1|0}}}) )/ln 10)+1E((abs{{{1|0}}}>1E100 or abs{{{1|0}}}<1E-100)-14))}}
 +
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:55, 11 August 2017

Template documentation[create]