Template:Sigfig/doc

Revision as of 06:36, 31 October 2025 by Ganaram inukshuk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This template invokes the following functions: round from Utils.

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