Changes

Jump to: navigation, search

Template:Rndnear/doc

653 bytes added, 00:12, 8 February 2020
Created page with "{{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 *<tt><nowik..."
{{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

*<tt><nowiki>{{rndnear|0.1234|0.05}}</nowiki></tt> → {{rndnear|0.1234|0.05}}
*<tt><nowiki>{{rndnear|12.65|0.25}}</nowiki></tt> → {{rndnear|1nowiki2.65|0.25}}
*<tt><nowiki>{{rndnear|-9.123|1}}</nowiki></tt> → {{rndnear|-9.123|1}}
*<tt><nowiki>{{rndnear|-912|5}}</nowiki></tt> → {{rndnear|-912|5}}
*<tt><nowiki>{{rndnear|39123|10}}</nowiki></tt> → {{rndnear|39123|10}}

===See also===
*{{tl|rnd}}
<includeonly>[[Category:Mathematical function templates|{{PAGENAME}}]]</includeonly>



Navigation menu