Writes values in integer binary (fixed-point) format.
Category: | Numeric |
Alignment: | Left |
Windows specifics: | native floating-point representation |
See: | IBw.d Format in SAS Formats and Informats: Reference |
specifies the width of the output field in bytes (not digits).
Default | 4 |
Range | 1–8 |
specifies a scaling factor. When you specify a d value, the IBw.d format multiplies the number by 10d, and then applies the integer binary format to that value.
Range | 0–10 |
01 00 00 00 00 00 00 00
01 00 00 00
01 00
FF FF FF FF
FF FF
data a; x = 9999999999999999999; y = put(x, IB8.); put y = hex16.; run;SAS returns the hexadecimal representation of 2147483647
y=FFFFFFFFFFFFFF7F