Template:Rnd/-

< Template:Rnd
Documentation icon Template documentation[view] [edit] [history] [purge]

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 also used by Template:rndnear (talk, backlinks, edit) and Template:rndpad (talk, backlinks, edit).