Formats |
Category: | Numeric |
Alignment: | right |
Syntax | |
Syntax Description | |
Comparisons | |
Examples |
Syntax |
PVALUEw.d |
specifies the width of the output field.
Default: | 6 |
Range: | 3-32 |
specifies the number of digits to the right of the decimal point in the numeric value. This argument is optional.
Default: | the minimum of 4 and w-2 |
Range: | 1-30 |
Restriction: | must be less than w |
Comparisons |
The PVALUEw.d format follows the rules for the w.d format, except that
if the value x is such that 0 <= x < 10-d, x prints as "<.0...01" with d-1 zeros
missing values print as "." unless you specify a different character by using the MISSING= system option
Examples |
put x pvalue6.4;
Value of x | Results |
---|---|
|
----+----1 |
.05 |
0.0500 |
0.000001 |
<.0001 |
0 |
<.0001 |
.0123456 |
0.0123 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.