Template:Scinote
From Wikipedia, the free encyclopedia
[edit] Template documentation
[edit] Usage
This template converts an interger expression into scientific notation.
- e.g. {{
scinote|12345
}} gives "1.2345×104"
To round to a given number of significant figures, specify this number as the second unnamed parameter.
- e.g. {{
scinote|12345|3
}} gives "1.23×104"
For engineering notation set fn=eng
.
- e.g. {{
scinote|12345|fn=eng
}} gives "12.345×103"
Trailing zeros are preserved.
- e.g. {{
scinote|0.001234500
}} gives "1.234500×10−3"
[edit] See also
- {{e}}