Writes standard numeric data with leading 0s.
Category: | Numeric |
Alignment: | Right |
specifies the width of the output field.
Default | 1 |
Range | 1–32 |
Tip | Allow enough space to write the value, the decimal point, and a minus sign, if necessary. |
specifies the number of digits to the right of the decimal point in the numeric value.
Default | 0 |
Range | 0–31 |
Tip | If d is 0 or you omit d, Zw.d writes the value without a decimal point. |
Statement
|
Result
|
---|---|
----+----1 |
|
select put(1350,z8.); |
00001350 |