Chapter Contents |
Previous |
Next |
w.d |
Category: | Numeric |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples |
Syntax |
w.d |
Range: | 1-32 |
Range: | 0-31 |
Details |
The w.d informat reads numeric values that are located anywhere in the field. Blanks can precede or follow a numeric value with no effect. A minus sign with no separating blank should immediately precede a negative value. The w.d informat reads values with decimal points and values in scientific E-notation, and it interprets a single period as a missing value.
Comparisons |
Examples |
input @1 x 6. @10 y 6.2; put x @7 y;
Data Lines | Results |
---|---|
----+----1----+----+ |
|
23 2300 |
23 23 |
23 2300 |
23 23 |
23 -2300 |
23 -23 |
23.0 23. |
23 23 |
2.3E1 2.3 |
23 2.3 |
-23 0 |
-23 0 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.