Template:Scinote/doc

From Teampedia
Jump to: navigation, search

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