Template:Rnd/-
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 also used by Template:rndnear (talk, backlinks, edit) and Template:rndpad (talk, backlinks, edit).
The above documentation is transcluded from Template:Rnd/-/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. |