Difference between revisions of "Template:Order of magnitude"
From MINR.ORG WIKI
(new code developed by Wikid77 which cuts the transclusion depth by 3 levels) |
Rickyboy320 (talk | contribs) m (29 revisions imported: Imported Category TOC from wikipedia) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0 | <includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0 | ||
− | |{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}1=1 | + | |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1 |
|0 | |0 | ||
− | |{{{{{|safesubst:}}}#expr:floor((ln({{{1}}}1)/ln10)+1)}} | + | |{{{{{|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> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |