Difference between revisions of "Template:E-sp/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎Usage: "padded")
imported>Sardanaphalus
m (→‎See also: template name update)
Line 24: Line 24:
 
*{{tl|10^}}
 
*{{tl|10^}}
 
*{{tl|scinote}}
 
*{{tl|scinote}}
*{{tl|Sup/sub-related templates}}
+
*{{tl|Sup and sub-related templates}}
  
 
<includeonly>
 
<includeonly>

Revision as of 19:33, 26 October 2014

Usage

{{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: Script error: No such module "aligned table".

See also