Template:E: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
(New page:  × 10<sup>{{{1}}}</sup><noinclude> {{TlDoc}} </noinclude>)
 
imported>Drew R. Smith
No edit summary
Line 1: Line 1:
&nbsp;×&nbsp;10<sup>{{{1}}}</sup><noinclude>
{{Speedydelete|Not needed|[[User:Drew R. Smith|Drew R. Smith]] 11:40, 15 June 2009 (UTC)}}&nbsp;×&nbsp;10<sup>{{{1}}}</sup><noinclude>
{{TlDoc}}
{{TlDoc}}
</noinclude>
</noinclude>

Revision as of 06:40, 15 June 2009

Speedydelete2.png
A user has requested that an administrator delete this page forthwith.
Not needed
See also pages that link to this page.
Drew R. Smith 11:40, 15 June 2009 (UTC)

 × 10{{{1}}}

This documentation is transcluded from Template:E/doc (edit | history)

Usage

The {{e}} template is intended to facilitate and make uniform scientific notation numbers. To render

3.14 × 10−12

instead of writing:

3.14 × 10<sup>−12</sup>

you can write:

3.14{{subst:e|−12}}

which yields that same wikitext, and is therefore rendered the same.

Note that the parameter is text, not a number; it can include variables which can be italicized, etc. This also means that using a hyphen (-) and a minus sign (−) with negative numbers gives different results.

3.14{{subst:e|-12}} 3.14 × 10-12
3.14{{subst:e|&minus;12}} 3.14 × 10−12
3.14{{subst:e|−12}} 3.14 × 10−12
3.14{{subst:e|''z'' − ''y''}} 3.14 × 10zy