Jump to content

Template:E-sp/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{e-sp}}, a more padded version of {{e}}, is intended to facilitate and make uniform scientific notation numbers.

To render, for example,

3.14 × 10−12

use

3.14{{e-sp|−12}}

instead of

3.14&nbsp;×&nbsp;10<sup>−12</sup>

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

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

See also

[edit]