This is the template sandbox page for Template:Scinote (diff). See also the companion subpage for test cases. |
This template converts a decimal expression into scientific notation.
{{scinote|12345}}
produces: 1.2345×10 4To round to a given number of significant figures, specify this number as the second unnamed parameter:
{{scinote|12345|3}}
produces: 1.23×10 4For engineering notation, set |fn=eng
:
{{scinote|fn=eng|12345}}
produces: 12.345×10 3Trailing zeros are preserved:
{{scinote|0.001234500}}
produces: 1.234500×10 −3