Template:Decimals
From NSWiki
Script error
40px | This template is used on approximately Template:Significant figures/rnd pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Usage
{{Decimals|number|decimals}}
Note that results are limited to 15 significant figures.
Examples
-
{{Decimals|1234|-2}}
→ Script error -
{{Decimals|1234|0}}
→ Script error -
{{Decimals|1234|1}}
→ Script error -
{{Decimals|1234|2}}
→ Script error -
{{Decimals|9/8|5}}
→ Script error -
{{Decimals|0.0000067890123456789012345|20}}
→ Script error -
{{Decimals|0.67890123456789012345|20}}
→ Script error -
{{Decimals|67890.123456789012345|20}}
→ Script error -
{{Decimals|67890123456789012345|20}}
→ Script error -
{{Decimals|1/33|7}}
→ Script error -
{{Decimals|0.006|1}}
→ Script error
See also
- {{sigfig}}
- {{Fractions and ratios}}
- {{rnd}}
The above documentation is transcluded from Template:Decimals/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |