Template:Scinote
From Wikipedia, the free encyclopedia
Usage
This template converts a decimal expression into scientific notation.
- e.g.
{{scinote|12345}}
produces: 1.2345×10^4
To round to a given number of significant figures, specify this number as the second unnamed parameter:
- e.g.
{{scinote|12345|3}}
produces: 1.23×10^4
For engineering notation, set |fn=eng
:
- e.g.
{{scinote|fn=eng|12345}}
produces: 12.345×10^3
Trailing zeros are preserved:
- e.g.
{{scinote|0.001234500}}
produces: 1.234500×10^−3
See also
The above documentation is transcluded from Template:Scinote/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.