Difference between revisions 5873113 and 5873114 on simplewiki

{{Documentation subpage}}
{{lua|Module:Math}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
{{high-risk|200,000+}}
{{lua|Module:Math}}

==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}}
::: {{<code>'''rnd'''|68.4273E12|-10</code>}} gives {{rnd|68.4273E12|-10}}
(contracted; show full)*{{tl|rndgaps}}

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

</includeonly>