![]() Chapter Contents |
![]() Previous |
![]() Next |
| PERCENTw.d |
| Category: | Numeric |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples |
Syntax |
| PERCENTw.d |
| Default: | 6 |
| Range: | 4-32 |
| Range: | 0-2 |
| Details |
The PERCENTw.d format multiplies values by 100, formats them the same as the BESTw.d format, and adds a percent sign (%) to the end of the formatted value, while it encloses negative values in parentheses. The PERCENTw.d format allows room for a percent sign and parentheses, even if the value is not negative.
| Examples |
put @10 gain percent10.;
| Values | Results |
|---|---|
----+----1----+----2 |
|
0.1 |
10% |
1.2 |
120% |
-0.05 |
( 5%) |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.