Template:Sigfig: Difference between revisions

m +see also
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Utils|round|{{{1|0}}}|{{{2|3}}}}}</includeonly><noinclude>
<includeonly>{{#invoke: Utils | round
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.
| {{{1|0}}}
 
| {{{2|3}}}
== Usage ==
}}</includeonly><noinclude>
; You type
{{documentation}}
: <code><nowiki>{{sigfig|1234.567|5}}</nowiki></code>
 
; You get
: {{{{PAGENAME}}|1234.567|5}}
 
== See also ==
* [[Module:Utils]] – the module that implements the functionality


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>