ढाँचा:Rndnear

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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}} → ३९,१२०

See also[सम्पादन गर्ने]