Difference between revisions of "Template:Order of magnitude"
imported>Matthazinski m (1 revision: Template:Convert) |
imported>Jo-jo eumerus m (Changed protection level for "Template:Order of magnitude": Allowing template editors on some templates with full protection dating back to pre-WP:TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access...) |
||
Line 4: | Line 4: | ||
|{{{{{|safesubst:}}}#expr:floor((ln(abs{{{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> |