Template:Sigfig
This template rounds a number to a given number of significant figures. The first argument is the number to be rounded. The second argument is the number of significant figures; if not specified the default value is 3.
Usage
- You type
{{sigfig|1234.567|5}}
- You get
- 1234.6
See also
- Module:Utils – the module that implements the functionality