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...")
 
 
Line 3: Line 3:
  
 
__TOC__
 
__TOC__
= = Example==
+
==Example==
 
Convert to[[scientific notation]] by default
 
Convert to[[scientific notation]] by default
 
:{{tld|scinote|123.456}} → {{scinote|123.456}}
 
:{{tld|scinote|123.456}} → {{scinote|123.456}}
Line 17: Line 17:
 
<includeonly>
 
<includeonly>
 
<!-- Add categories below -->
 
<!-- Add categories below -->
[[Category: mathematical function template|{{PAGENAME}}]]
+
[[Category:Mathematical function template|{{PAGENAME}}]]
 
[[Category:Scinote internal template|*]]
 
[[Category:Scinote internal template|*]]
 
[[Category:Index notation template]]
 
[[Category:Index notation template]]
  
 
</includeonly>
 
</includeonly>

Latest revision as of 01:52, 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