Template:Significant figures/rnd

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

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

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]

External links[edit source]