Difference between revisions of "Template:Rnd/-/doc"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(It's also used by {{rndnear}} and {{rndpad}}.)
(bn:টেমপ্লেট:Rnd/-)
Line 15: Line 15:
 
<includeonly>
 
<includeonly>
 
[[Category:Subtemplates of Template Rnd]]
 
[[Category:Subtemplates of Template Rnd]]
 +
[[bn:টেমপ্লেট:Rnd/-]]
 
[[pt:Predefinição:Rnd/-]]
 
[[pt:Predefinição:Rnd/-]]
 
</includeonly>
 
</includeonly>

Revision as of 13:31, 6 May 2012

This subtemplate of {{rnd}} adds trailing zeros. It takes two parameters.

  1. the number to be displayed
  2. 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).