Difference between revisions of "Template:Rnd"
From MINR.ORG WIKI
(includes trailing zeros except in the range where E notation is used.) |
|||
Line 4: | Line 4: | ||
*{{xpd|#expr:2.0004 round 3}} | *{{xpd|#expr:2.0004 round 3}} | ||
*{{xpd|rnd|2.0004|3}} | *{{xpd|rnd|2.0004|3}} | ||
− | *{{xpd| | + | *{{xpd|rnd|0.000020004|8}} |
</noinclude> | </noinclude> |
Revision as of 12:38, 31 January 2008
Template:Pp-templateThis template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives), includes trailing zeros except in the range where E notation is used.
Compare: