Jump to content

Template:Significant figures/rnd

From Meta, a Wikimedia project coordination wiki

1.0000×100

Template documentation

A rounding subtemplate, it calls {{Rnd}}.

Examples:

  • {{Significant figures/rnd|123.456|7|2}} gives 1.234560×102 [1]
  • {{Significant figures/rnd|123.456|6|2}} gives 1.23456×102 [2]
  • {{Significant figures/rnd|123.456|5|2}} gives 1.2346×102 [3]
  • {{Significant figures/rnd|123.456|4|2}} gives 1.235×102 [4]
  • {{Significant figures/rnd|123.456|3|2}} gives 1.23×102 [5]
  • {{Significant figures/rnd|123.456|2|2}} gives 1.2×102 [6]
  • {{Significant figures/rnd|123.456|1|2}} gives 1×102 [7]
  • {{Significant figures/rnd|123.456|0|2}} gives 0 [8]