Difference between revisions 5873107 and 5873108 on simplewiki

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
This template rounds parameter 1 by parameter 2 decimal places (goes the other way for negative rounding) and includes trailing zeros.
::: {{<code>'''rnd'''|54.376|2</code>}} &nbsp; &nbsp; gives {{rnd|54.376|2}}
::: {{<code>'''rnd'''|54.376|-1</code>}} &nbsp; gives {{rnd|54.376|-1}}
(contracted; show full)*{{tl|rndfrac}}
*{{tl|rndnear}}
*{{tl|rndgaps}}

<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:Mathematical function templates]]

[[Category:Lua-based templates]]

[[ar:Template:Rnd]]
[[bn:টেমপ্লেট:Rnd/doc]]
[[id:Templat:Rnd]]
[[os:Шаблон:Rnd]]
[[ja:Template:Rnd]]
[[tpi:Template:Rnd]]
[[pt:Predefinição:Rnd]]
[[sl:Predloga:Rnd]]
[[sr:Шаблон:Rnd]]
[[zh:Template:Rnd]]
</includeonly>