Template:E

From Recidemia
Revision as of 08:22, 26 August 2011 by Adrignola (talk) (Protected "Template:E": High-impact page ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

 × 10{{{1}}}

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{{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{{e|-12}} 3.14 × 10-12
3.14{{e|&minus;12}} 3.14 × 10−12
3.14{{e|−12}} 3.14 × 10−12
3.14{{e|''z'' − ''y''}} 3.14 × 10zy