Jump to content

ទំព័រគំរូ:Rndnear/doc

ពីវិគីភីឌា

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}} → −៩
  • {{rndnear|-912|5}} → −៩១០
  • {{rndnear|39123|10}} → ៣៩១២០