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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Unprotected Template:Rnd/-/doc: a doc page now)
(No difference)

Revision as of 03:56, 20 February 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

Used by Template:rnd (backlinks edit):