Template:X10^: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres
(I am really killing instruction creep with my meddlings - fixing now)
m (55 revisions imported)
 
(37 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<noinclude>{{Merge-multiple|Sn}}</noinclude>
{{#if:{{{1|}}}
 
|<span style="margin:0 .15em 0 .25em">×</span>10<sup><!--
×10<sup>{{{1}}}</sup><noinclude>
-->{{#ifeq:{{{2|}}}|text
 
  |{{{1}}}
== Usage ==
  |{{#ifeq:{{valid|number={{{1}}}}}|false
 
    |{{{1}}}
This template is intended to facilitate and make uniform [[scientific notation]] numbers. To render
    |{{#ifeq:{{{2|}}}|plus
:3.14×10<sup>−12</sup>
      |&#43;{{val/delimitnum|{{{1}}}}}
Instead of writing:
      |{{val/delimitnum|{{{1}}}}}
:<tt><nowiki>3.14×10<sup>−12</sup></nowiki></tt>
    }}
You can write simply (and much more legibly):
  }}
:<tt><nowiki>3.14{{e|−12}}</nowiki></tt>
}}</sup>
Which yields:
|{{Main other|[[Category:Articles using E without any arguments]]}}
:3.14{{e|−12}}
}}<noinclude>
 
{{documentation}}
 
 
[[Category:Function templates|{{PAGENAME}}]]
 
[[eu:Txantiloi:E]]
[[fr:Modèle:x10]]
[[hu:Sablon:E]]
[[hr:Predložak:E]]
[[ja:Template:E]]
[[rmy:Sikavno:E]]
[[ro:Format:E]]
[[sk:Šablóna:E]]
[[uk:Шаблон:E]]
[[no:Mal:E]]
</noinclude>
</noinclude>

Latest revision as of 13:41, 3 September 2020