模板:Rnd

Cquote>Eliot2007年11月28日 (三) 09:39的版本 (←新頁面,內容: <includeonly>{{rnd/+|{{{1}}}|{{{2}}}|{{rnd/0{{#expr:{{{2}}}>0}}|{{{1}}}|{{{2}}}}}}}</includeonly><noinclude>This template rounds {{{1}}} to {{{2}}} decimal places...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives), includes trailing zeros & avoids E notation.