Writes numeric values as percentages
| Category: |
Numeric
|
| Alignment: |
right
|
-
w
-
specifies the width of the output field.
-
d
-
optionally specifies the number of digits
to the right of the decimal point in the numeric value.
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.
put @10 gain percent10.;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.