Writes numeric values as percentages.
Category: | Numeric |
Alignment: | Right |
specifies the width of the output field.
Default | 6 |
Range | 4–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----+----2 |
select put(0.1,percent10.); |
10% |
select put(1.2,percent10.); |
120% |
select put(-.05,percent10.); |
( 5%) |