Template:Rnd/-
< Template:Rnd
Jump to navigation
Jump to search
Revision as of 21:45, 16 February 2009 by Lafayette1 (talk | contribs) (New page: <includeonly>{{#expr:{{{1}}}}}<!-- -->{{#ifexpr: {{{2}}}>0 and {{{1}}}={{{1}}}round0 |.0}}<!-- -->{{#ifexpr: {{{2}}}>1 and {{{1}}}={{{1}}}round1 |0}}<!-- -->{{#ifexpr: {{{2}}}>2 and {{...)
Adds trailing zeros:
"{{rnd/-|2|3}}"
gives "2.000" [1]
Used by Template:rnd (backlinks, edit):
Template:1x { { Template:1x } } Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x Template:1x
gives 2 [2]"{{rnd|2.0004|3}}"
gives "Template:Rnd/c4dec1" [3]