Writes negative numeric values in parentheses.
Category: | Numeric |
Alignment: | Right |
specifies the width of the output field.
Default | 6 |
Range | 1–32 |
specifies the number of digits to the right of the decimal point in the numeric value.
Default | 0 |
Range | 0–31 |
Statements
|
Results
|
---|---|
----+----1----+ |
|
select put(100,negparen6.); |
100 |
select put(1000,negparen6.); |
1,000 |
select put(-200,negparen6.); |
(200) |
select put(-2000,negparen8.); |
(2,000) |