Writes values in packed decimal data.
Category: | Numeric |
Alignment: | Left |
Windows specifics: | How the values are interpreted as negative or positive |
See: | PDw.d Format in SAS Formats and Informats: Reference |
specifies the width of the output field in bytes (not digits).
Default | 1 |
Range | 1–16 |
specifies a scaling factor. When you specify a d value, the PDw.d format multiplies the number by 10d, and then applies the packed decimal format to that value.
Range | 1–31 |
00 99
00 00 11 43
80 43
80 00 11 43
data a; x = 1e308; y = put(x, PD16.2); put y = hex16.; run;the result is
y=0099999999999999