Writes numeric values with yen signs, commas, and decimal points.
| Category: | Numeric |
| Alignment: | Right |
specifies the width of the output field.
| Default | 1 |
| Range | 1–32 |
specifies the number of digits to the right of the decimal point in the numeric value.
| Restriction | must be either 0 or 2 |
| Tip | If d is 2, then YENw.d writes a decimal point and two decimal digits. If d is 0, then YENw.d does not write a decimal point or decimal digits. |
|
Statements
|
Results
|
|---|---|
|
|
----+----1 |
select put(1254.71,yen10.2); |
¥1,254.71 |