Template:Val/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SkyLined
Created page with '<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOC...'
 
meta>SkyLined
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
[[Category:Wikipedia formatting templates]]
==Purpose==
==Purpose==
To easily present values in [[scientific notation]], including uncertainty.
To easily present values in [[scientific notation]], including uncertainty.

Revision as of 17:28, 27 March 2008

Template:Template doc page viewed directly

Purpose

To easily present values in scientific notation, including uncertainty.

Arguments

1 The value

or

1 The value
2 The uncertainty

or

1 The value
2 The upper limit of uncertainty
3 The lower limit of uncertainty (must be a negative value)

Finally, you can always supply an exponent a power of 10:

e The exponent for power of 10.

Examples

{{ScientificValue|1.234}} -> Template:ScientificValue
{{ScientificValue|1.234|e=10}} -> Template:ScientificValue
{{ScientificValue|1.234|0.005}} -> Template:ScientificValue
{{ScientificValue|1.234|+0.005|-0.001}} -> Template:ScientificValue
{{ScientificValue|1.234|0.05|e=5}} -> Template:ScientificValue
{{ScientificValue|1.234|+0.05|-0.04|e=-23}} -> Template:ScientificValue