ទំព័រគំរូ:Rnd/-/doc
Appearance
< ទំព័រគំរូ:Rnd | -
This is a documentation subpage for ទំព័រគំរូ:Rnd/-. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
This subtemplate of {{rnd}} adds trailing zeros. It takes two parameters.
- the number to be displayed
- the number of significant figures to be displayed after the decimal point
{{rnd/-|2|3}}
→ 2.000{{rnd/-|1E+5|3}}
→ 100000.000
It's used by Template:rnd (backlinks, edit).
It's also used by Template:rndnear (backlinks, edit) and Template:rndpad (backlinks, edit).