Difference between revisions of "Template:Rndnear/doc"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
m (moved Template:Rnd/c6dec1 to Template:Rndnear/doc) |
|||
Line 1: | Line 1: | ||
− | + | {{Documentation subpage}} | |
+ | This template rounds to a multiple. It takes two parameters. | ||
+ | #the number to be rounded (any real number) | ||
+ | #the multiple to be rounded to | ||
− | [[Category: | + | *{{xpsoc|rndnear|0.1234|0.05}} |
+ | *{{xpsoc|rndnear|12.65|0.25}} | ||
+ | *{{xpsoc|rndnear|-9.123|1}} | ||
+ | *{{xpsoc|rndnear|-912|5}} | ||
+ | *{{xpsoc|rndnear|39123|10}} | ||
+ | |||
+ | ==See also== | ||
+ | *{{tl|rnd}} | ||
+ | *{{tl|rndfrac}} | ||
+ | |||
+ | <includeonly>[[Category:Mathematical function templates]]</includeonly> |
Revision as of 02:23, 21 February 2012
This is a documentation subpage for Template:Rndnear. It contains usage information, categories and other content that is not part of the original template page. |
This template rounds to a multiple. It takes two parameters.
- the number to be rounded (any real number)
- the multiple to be rounded to
{{rndnear|0.1234|0.05}}
→ 0.10{{rndnear|12.65|0.25}}
→ 12.75{{rndnear|-9.123|1}}
→ −9{{rndnear|-912|5}}
→ −910{{rndnear|39123|10}}
→ 39,120
See also