Template:Rnd

From The Sonic Eats Rings Museum
Revision as of 22:59, 3 December 2008 by SoNick (talk | contribs) (New page: <includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}</includeonly><noinclude>{{pp-template}} {{template doc}} </noinclude>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] Template-info.svg Template documentation

Usage

This template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives) and includes trailing zeros. Scientific notation is used for numbers greater than or equal to 1×109, or less than 1×10−4.

Compare:

ja:Template:Rnd