跳转到内容

Template:Significant figures/rnd

维基百科,自由的百科全书

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

Examples:

  • {{Significant figures/rnd|123.456|7|2}} gives 123.4560 [1]
  • {{Significant figures/rnd|123.456|6|2}} gives 123.456 [2]
  • {{Significant figures/rnd|123.456|5|2}} gives 123.46 [3]
  • {{Significant figures/rnd|123.456|4|2}} gives 123.5 [4]
  • {{Significant figures/rnd|123.456|3|2}} gives 123 [5]
  • {{Significant figures/rnd|123.456|2|2}} gives 120 [6]
  • {{Significant figures/rnd|123.456|1|2}} gives 100 [7]
  • {{Significant figures/rnd|123.456|0|2}} gives 0 [8]