Writes numeric values with a leading dollar sign, 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 | 2–32 |
specifies the number of digits to the right of the decimal point in the numeric value.
| Default | 0 |
| Range | 2–31 |
| Requirement | must be less than w |
|
Statements
|
Results
|
|---|---|
----+----1----+ |
|
select put(1254.71,dollarx10.2); |
$1.254,71 |