Template:Precision/sandbox/doc

For a number in ordinary decimal notation with a decimal point, this template determines the number of digits after the point. It is a measure for the precision implied by the notation.

For multiples of non-negative powers of 10 the negative of the exponent is returned. Note however that zeros do not necessarily indicate precision, a precise number can happen to be a multiple of a power of 10.

Note that floating point values have a maximum number of digits total, so 1111111111.11111111 is equivalent to 1111111111.1111111 (one less digit after decimal point), so the output of &#123;{precision}&#125; for both of those is 7.