Writes p-values of the local expression in the specified
locale.
Category: |
Numeric
|
Alignment: |
left
|
- w
-
specifies the width of the output field.
- d
-
specifies to divide the number by 10d. If the data contains decimal separators, the d value is ignored.
This example uses the german_Germany locale option.
Statements:
options locale=german_germany;
data _null_;
put "+--- nlpvalue min=3 default=6 max=32 ---+";
x=0.1248;
put x= +5 x pvalue. +5 x nlpvalue.;
put x= +5 x pvalue3.1 +5 x nlpvalue3.1;
put x= +5 x pvalue20.2 +5 x nlpvalue20.2;
put x= +5 x pvalue32.3 +5 x nlpvalue32.3;
run;
|
Results:
+--- nlpvalue min=3 default=6 max=32 ---+
x=0.1248 0.1248 0,1248
x=0.1248 0.1 0,1
x=0.1248 0.12 0,12
x=0.1248 0.125 0,125
|
|
Format: |
|
PVALUEw.d in
SAS Language Reference: Dictionary |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.