Difference between revisions of "Template:Significant figures"
From MINR.ORG WIKI
m (Changed protection level of Template:Sigfig: only 286 btransclusions, reducing protection ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
(adjust whitespace to improve code readability) |
||
Line 1: | Line 1: | ||
− | + | {{#ifeq:{{{1<noinclude>|0</noinclude>}}}|0 | |
+ | |0 | ||
+ | |{{Sigfig/{{#if:{{{2|}}} | ||
+ | |rnd | ||
+ | |sum | ||
+ | }} | ||
+ | |1={{{1}}} | ||
+ | |2={{{2}}} | ||
+ | |3={{Order of magnitude|{{{1}}}}} | ||
+ | }} | ||
+ | }}<noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |