Difference between revisions of "Template:Order of magnitude"
From MINR.ORG WIKI
m (moved Template:Ordomag to Template:Order of magnitude: clearer name) |
m (update after move) |
||
Line 1: | Line 1: | ||
{{#ifexpr:{{{1|0}}}=0 | {{#ifexpr:{{{1|0}}}=0 | ||
|0 | |0 | ||
− | |{{ | + | |{{order of magnitude/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}} |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |