Toggle menu
14
236
69
27.3K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 23:42, 20 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} == Usage == This template converts a decimal expression into scientific notation. : e.g. {{tlx|scinote|12345}} produces: {{scinote|12345}} To round to a given number of significant figures, specify this number as the second unnamed parameter: : e.g. {{tlx|scinote|12345|3}} produces: {{scinote|12345|3}} For engineering notation, set {{para|fn|eng}}: : e.g. {{tlx|scinote|fn{{=}}eng|12345}} produces: {{scinote|12345|fn=eng}} Trailing zeros are...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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