Jim Freeze <jim / freeze.org> writes: > How does one print a maximum number of significant digits > past a decimal point? I thought sprintf("%.ng", val) would > do it. For %g, the precision gives the number of significant digits, not the decimal places. Dave