Writes values real-binary (floating-point) format.
Category: | Numeric |
Alignment: | Left |
Default: | 4 |
Ranges: | 2–8, 0–10 |
Windows specifics: | native floating–point representation |
See: | RBw.d Format in SAS Formats and Informats: Reference |
specifies the width of the output field.
Default | 4 |
Range | 2–8 |
specifies a scaling factor. When you specify a d value, the RBw.d format multiplies the number by 10d, and then applies the real binary format to that value.
Range | 0–10 |
data a; x = 1e308; y = put(x, RB8.2); put y = hex16.; run;the result is
y=0000000000D1FFFF