Template:Rnd/d/doc

This is an auxiliary template of Template:Rnd, called if the number, after rounding, is 1e9 or more, or less than 1e-4.

Its first parameter is the rounded number, its second the rounding parameter, the third parameter the order of magnitude, and as fourth parameter "+" or "-".

It calls rnd/- with as parameters the significand and the number of decimals of the significand to be displayed, to add trailing zeros, and calls rnd/e+ or rnd/e- to express the number in scientific notation.