Template:Rndnear/doc

From Teampedia
Revision as of 01:12, 8 February 2020 by Zacharycook505-104668625857976836193 (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template rounds to a multiple. It takes two parameters.

  1. the number to be rounded (any real number)
  2. the multiple to be rounded to
  • {{rndnear|0.1234|0.05}}
  • {{rndnear|12.65|0.25}}
  • {{rndnear|-9.123|1}} → −9
  • {{rndnear|-912|5}} → −910
  • {{rndnear|39123|10}} → 39,120

See also