The argument is printed in style e, E or f, with the precision specifying the number of significant digits.
Trailing zeros are removed from the result, and a decimal point appears only if necessary.
The argument is printed in style e or f (with some restraints) if g is the conversion character. Style e is used only if the exponent that results from the conversion is either greater than the precision or less than –4.
The argument is printed in style if G is the conversion character.
|