Template:Scinote

From Teampedia
Jump to: navigation, search
[view] [edit] [history] [purge] Documentation icon Template documentation

It is a template for dealing with scientific notation.

Contents

Example

Convert toscientific notation by default

{{scinote|123.456}} → {{rnd/bExpression error: Unexpected < operator.|Expression error: Unexpected < operator.|Expression error: Unrecognized punctuation character "[".|Expression error: Unexpected < operator.}}×102
{{scinote|123.456e7}} → {{rnd/bExpression error: Unexpected < operator.|Expression error: Unexpected < operator.|Expression error: Unrecognized punctuation character "[".|Expression error: Unexpected < operator.}}×109

Specify the number of digits ofsignificant figuresin the second parameter

{{scinote|123.456|3}}Template:Scinote/S1
{{scinote|123.456|7}}Template:Scinote/S1

Specify the number of significant digits while converting to scientific notation with the first parameter and second parameter

{{scinote|123.456e7|4}}Template:Scinote/S1
The above documentation is transcluded from Template:Scinote/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.