Difference between revisions of "Template:Scinote/doc"

From Teampedia
Jump to: navigation, search
(Created page with "{{Documentation subpage|type=[[[Help: template|template]]}} It is a template for dealing with scientific notation. __TOC__ = = Example== Convert toscientific notation by...")
(No difference)

Revision as of 01:50, 11 April 2020

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