The number is converted to the most compact decimal form, using fixed or scientific notation. The precision specifier determines ...

The number is converted to the most compact decimal form, using fixed or scientific notation. The precision specifier determines the number of significant digits in the resulting string.