Fyrimynd:Rnd/-
Appearance
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 rætta).
It's also used by Template:rndnear (backlinks rætta) and Template:rndpad (backlinks rætta).
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Rnd/-/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |