The BESTD
w.p format writes numbers so that the decimal
point aligns in groups of values with similar magnitude. Integers
are printed without a decimal point. Larger values of
p print the data values with more precision and
potentially more shifts in the decimal point alignment. Smaller values
of
p print the data values
with less precision and a greater chance of decimal point alignment.
The format chooses the
number of decimal places to print for ranges of values, even when
the underlying values can be represented with fewer decimal places.