Writes real binary data (floating-point) in real binary format.
Category: | Numeric |
Alignment: | Left |
See: | RBw.d Format: UNIX in SAS Companion for UNIX Environments |
RBw.d Format: Windows in SAS Companion for Windows | |
RBw.d Format: z/OS in SAS Companion for z/OS |
y=put(x,rb8.); put y $hex16.;
Value of
x |
Result 1
|
---|---|
|
----+---1----+----2 |
128 |
4280000000000000 |
1The result is a hexadecimal representation of an eight-byte real binary number as it looks on an IBM mainframe. Each byte occupies one column of the output field. |