الگو:Rndnear/توضیحات
آخرین ویرایش :
۳۰ آبان ۱۳۹۳
| این زیرصفحهٔ مستندات الگو:Rndnear است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
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}}←
۰٫۱۰
{{rndnear|12.65|0.25}}←
۱۲٫۷۵
{{rndnear|-9.123|1}}←
−۹
{{rndnear|-912|5}}←
−۹۱۰
{{rndnear|39123|10}}←
۳۹۱۲۰
See also