Writes numeric values with a leading euro symbol (€), a comma that separates every three digits, and a period that separates the decimal fraction.
Category: | Numeric |
Alignment: | Right |
specifies the width of the output field.
Default | 6 |
Range | 1–32 |
Tip | If you want the euro symbol to be part of the output, be sure to choose an adequate width. |
specifies the number of digits to the right of the decimal point in the numeric value.
Default | 0 |
Range | 0–31 |
Requirement | must be less than w |
Statements
|
Results
|
---|---|
|
----+----1----+----2----+----3 |
select put(1254.71,euro10.2); |
E1,254.71 |
select put(1254.71,euro5.); |
1,255 |
select put(1254.71,euro9.2); |
E1,254.71 |
select put(1254.71,euro15.3); |
E1,254.710 |