This template is used to easily present values in scientific notation, including uncertainty and/or units, as prescribed by Wikipedia's Manual of Style.
Utilisation
Val specializes in numeric values, especially those with scientific notations, uncertainty notations, and those with measurement values with physical units. Because these expressions are covered by the Manual of Style, Val provides the stylized output for you, and keeps them from wrapping across lines.
Express a numeral:
{{val|123456.78901}} → value, formated with gaps: 123 456,789 01, or with |fmt=commas → 1 234,567 890 1.
{{val|number|number}} → value ± uncertainty, like 123 478 ± 56
{{val|number|number|number}} →value (su) like 1 234+56 −78
Express a measurement value: {{val|4|u=m2}} → 4 m2. The m2 is a "unit code" that Val uses to lookup the link to the unit's article, and the formatting of the unit symbol.
Sometimes a number and unit code is not enough. A prefix or suffix are also available, |p= and |s=.
{{val|7600|u=C⋅Ga|p=>|s=<}} → >7 600 C⋅Ga<
{{val|7600|u=C|p=<span style="color:green"><sup>|s=</sup></span>}} → 7 600 C
Arguments
Val takes three unnamed parameters. The first is always the numeric value. When the second and third are numbers they become the various uncertainty notations, but the second unnamed parameter can also serve to grammatically join the first and third numbers.
Val clears surrounding spaces in its unnamed parameters.
'1st'
A number in decimal point notation or in e notation. The main basis of the Val expression. Defaults to 100.