Template:Round/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Od Mishehu
(Creating documentation page for {{Rnd}})
 
meta>Jimp
(... or at least willl be soon ...)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
==Usage==
This 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.
This template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives) and includes trailing zeros.  For {{{1}}} such that 10{{e|6}}&nbsp;≤&nbsp;{{{1}}}&nbsp;<&nbsp;10{{e|−4}} scientific notation is used.


Compare:
Compare:

Revision as of 07:06, 4 July 2008

Usage

This template rounds {{{1}}} to {{{2}}} decimal places (goes the other way for negatives) and includes trailing zeros. For {{{1}}} such that 10×106 ≤ {{{1}}} < 10×10−4 scientific notation is used.

Compare: