Template:Significant figures/rnd/doc
Appearance
This is a documentation subpage for Template:Significant figures/rnd. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 5,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]A rounding subtemplate, it calls {{round}}.
Examples:
{{significant figures/rnd|123.456|7|2}}
→ 123.4560{{significant figures/rnd|123.456|6|2}}
→ 123.456{{significant figures/rnd|123.456|5|2}}
→ 123.46{{significant figures/rnd|123.456|4|2}}
→ 123.5{{significant figures/rnd|123.456|3|2}}
→ 123{{significant figures/rnd|123.456|2|2}}
→ 120{{significant figures/rnd|123.456|1|2}}
→ 100{{significant figures/rnd|123.456|0|2}}
→ 0