Difference between revisions of "Template:Order of magnitude"
From Timelines
m (default to zero, show output on template) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifexpr:{{{1|0}}}=0 | + | <includeonly>{{{{{|safesubst:}}}#ifexpr:{{{1|0}}}=0 |
− | + | |{{{{{|safesubst:}}}#ifexpr:abs{{{1|0}}}1=1 | |
− | + | |0 | |
− | }}<noinclude> | + | |{{{{{|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 15:13, 11 November 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. |