Writes positive integer binary (fixed-point) values in IBM mainframe format.
Category: | Numeric |
Alignment: | Left |
y=put(x,s370fpib1.); put y $hex2.;
Value of
x |
Result 1
|
---|---|
----+----1 |
|
12 |
0C |
1* The result is a hexadecimal representation of a one-byte binary number written in positive integer binary format, which occupies one column of the output field. |