Template:Rndgaps/doc

Usage
Like rnd, this template rounds to  decimal places (goes the other way for negatives) and includes trailing zeros. Also like, scientific notation is used for numbers whose absolute value is greater than or equal to 1, or less than 1. It differs from in that it uses thin gaps to delimit numbers like val (see also gaps).

Examples:

As with #expr, the total number of significant digits is not more than 14:

Internal details
The template uses the following.
 * val/delimitnum/fraction — for trailing zeros
 * rndgaps/e+ — for scientific notation for numbers greater than or equal to 109 or less than or equal to −109
 * rndgaps/e− — for scientific notation for numbers greater than −10−4 and less than 10−4 but not equal to zero