Writes unsigned integer binary (fixed-point) values in IBM mainframe format.
Category: | Numeric |
Alignment: | Left |
y=put(x,s370fibu1.); put y $hex2.;
Value of
x |
Result 1
|
---|---|
245 |
F5 |
-245 |
F5 |
1The result is a hexadecimal representation of a one-byte integer binary number. Each byte occupies one column of the output field. |