When a format is not
specified for writing a numeric value, SAS uses the BEST
w. format as the default format. The BEST
w. format writes numbers as follows:
-
Values are written with the maximum
precision, as determined by the width.
-
Integers are written without decimals.
-
Numbers with decimals are written
with as many digits to the left and right of the decimal point as
needed or as allowed by the width.
-
Values that can be written within
the given width are written without trailing zeros.
-
Values that cannot be written within
the given width are written with the maximum allowable number of decimal
places as determined by the width.
-
Extreme values might be written
in scientific notation.
SAS stores the complete
value regardless of the format that is used.