Template:Rnd

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search


[edit] Template documentation

Usage

This template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives), includes trailing zeros except in the range where E notation is used.

Compare:

  • {{#expr:2.0004 round 3}} gives 2.
  • {{rnd|2.0004|3}} gives 2.000.
  • {{rnd|0.000020004|8}} gives 2.0E-5000.
  • {{rnd|0|8}} gives 0.00000000.