Writes numeric values with a period that separates every three digits and a comma that separates the decimal fraction.
Category: | Numeric |
Alignment: | Right |
specifies the width of the output field.
Default | 6 |
Range | 1–32 |
Tip | Make w wide enough to write the numeric values, the commas, and the optional decimal point. |
specifies the number of digits to the right of the decimal point in the numeric value.
Range | 0–31 |
Requirement | must be less than w |
Statements
|
Results
|
---|---|
----+----1----+----2 |
|
select put (23451.23,commax10.2); |
23.451,23 |
select put (123451.234,commax10.2); |
123.451,23 |