Difference between revisions of "Template:Significant figures"

Jump to navigation Jump to search
en>MSGJ
m (Changed protection level of Template:Sigfig: only 286 btransclusions, reducing protection (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
m (36 revisions imported)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1}}}|0|0|{{Sigfig/{{#if:{{{2|}}}|rnd|sum}}|{{{1}}}|{{{2}}}|{{Order of magnitude|{{{1}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
{{#ifeq:{{{1<noinclude>|0</noinclude>}}}|0
 +
|0
 +
|{{significant figures/{{#if:{{{2|}}}
 +
  |rnd
 +
  |sum
 +
  }}
 +
  |1={{formatnum:{{{1}}}|R}}
 +
  |2={{{2}}}
 +
  |3={{Order of magnitude|{{formatnum:{{{1}}}|R}}}}
 +
}}
 +
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 18:41, 7 October 2019

0

Template documentation[create]