Difference between revisions of "Template:Order of magnitude"
From Timelines
(new code developed by Wikid77 which cuts the transclusion depth by 3 levels) |
(abs) |
||
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)}} |
}} | }} | ||
|{{{{{|safesubst:}}}#expr:floor((ln(abs({{{1}}}))/ln10)+1E-14)}} | |{{{{{|safesubst:}}}#expr:floor((ln(abs({{{1}}}))/ln10)+1E-14)}} |
Revision as of 16:19, 26 September 2012
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |