Changes

Jump to: navigation, search

Template:Rnd/doc

1,889 bytes removed, 12:27, 11 April 2020
no edit summary
<noinclude>{{Documentation subpage|種類=[[Help:Template|Template]]}}</noinclude>{{Template shortcut|Round|Decimals}}<includeonly>{{pp!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --template}}{{Templates with many uses|13,000|That's it.}}</includeonly>This is called[[Rounding]]It is a template that performs the following functions
{| class="wikitable"! <div style="float:right">→</div>コード! 出力|-| {{<code>#expr:2.0004 round 3</code>}} || {{#expr:2.0004 round 3}}|-| {{tlx|rnd|2.0004|3}} || {{rnd|2.0004|3}}|-| {{tlx|rnd|0.000020004|7}} || {{rnd|0.000020004|7}}|-| {{tlx|rnd|0|8}} || {{rnd|0|8}}|-| {{tlx|rnd|154268|-3}} || {{rnd|154268|-3}}|-| {{tlx|rnd|1542689271|-7}} || {{rnd|1542689271|-7}}|-| {{tlx|rnd|1.23e-4|5}} || {{rnd|1.23e-4|5}}|-| {{tlx|rnd|1.23e4|5}} || {{rnd|1.23e4|5}}|-| {{tlx|rnd|{{scinote|1.23e-4}}|5}} || 扱えない<br/>{{rnd|{{scinote|1.23e-4}}|5}}|-| {{tlx|rnd|{{scinote|1.23e4}}|5}} || 扱えない<br/>{{rnd|{{scinote|1.23e4}}|5}}|}= Usage ===
出力形式は10<sup>9</sup> から科学的記数法となる{| class="wikitable"! <div style="float:right">→</div>コード! 出力|-| {{tlx|rnd|1234567|-4}} || {{rnd|1234567|-4}}|-| {{tlx|rnd|12345678|-5}} || {{rnd|12345678|-5}}|-| {{tlx|rnd|123456789|-6}} || {{rnd|123456789|-6}}|-| {{tlx|rnd|1234567890|-7}} || {{rnd|1234567890|-7}}|-| {{tlx|rnd|12345678901|-8}} || {{rnd|12345678901|-8}}|-| {{tlx|rnd|123456789012|-9}} || {{rnd|123456789012|-9}}|}= See also ===
The output format is 10<sup>−4</sup> Less is a scientific record.
{| class="wikitable"
! <div style="float:right">→</div>コード
! 出力
|-
| {{tlx|rnd|0.0123456|4}} || {{rnd|0.0123456|4}}
|-
| {{tlx|rnd|0.00123456|5}} || {{rnd|0.00123456|5}}
|-
| {{tlx|rnd|0.000123456|6}} || {{rnd|0.000123456|6}}
|-
| {{tlx|rnd|0.0000123456|7}} || {{rnd|0.0000123456|7}}
|-
| {{tlx|rnd|0.00000123456|8}} || {{rnd|0.00000123456|8}}
|-
| {{tlx|rnd|0.000000123456|9}} || {{rnd|0.000000123456|9}}
|}
 
== Related items ==
* [[Help:Conditions#expr]] - round The operation is implemented
<includeonly>
<!-- Please add the category below CATEGORIES AND INTERWIKIS HERE, THANKS -->{{DEFAULTSORT:{{PAGENAME}}}}[[Category:Mathematical function templateSubtemplates of Template Rnd| ]]
</includeonly>



Navigation menu