Jump to content

Template:Rnd/-/doc

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Revision as of 23:19, 6 May 2011 by John James (talk | contribs) (Created page with "{{Documentation subpage}} Adds trailing zeros: *{{xpsoc|rnd/-|2|3}} *{{xpsoc|rnd/-|1E+5|3}} Used by {{tiw|rnd}}: *{{xpd|#expr:2.0004 round 3}} *{{xpd|rnd|2.0004|3}} <includeonl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Adds trailing zeros:

  • {{rnd/-|2|3}} → 2.000
  • {{rnd/-|1E+5|3}} → 100000.000

Used by Template:rnd (backlinks, edit):

  • {{#expr:2.0004 round 3}} gives 2
  • {{rnd|2.0004|3}} gives 2.000