Previous Page | Next Page

Formats for NLS

NLPVALUEw.d Format



Writes p-values of the local expression in the specified locale.
Category: Numeric
Alignment: left

Syntax
Syntax Description
Examples
See Also

Syntax

NLPVALUEw.d

Syntax Description

w

specifies the width of the output field.

Default: 6
Range: 3-32
d

specifies to divide the number by 10d. If the data contains decimal separators, the d value is ignored.

Default: 4
Range: 1-30

Examples

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


See Also

Format:

PVALUEw.d in SAS Language Reference: Dictionary

Previous Page | Next Page | Top of Page