Writes numeric values with a leading dollar sign, 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 | 2–32 |
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----+ |
|
select put(1254.71,dollar10.2); |
...$1,254.71 |