Reads numeric values that are stored in scientific notation and
double-precision scientific notation.
Category: |
Numeric
|
See: |
Ew.d Informat under z/OS
|
-
w
-
specifies the width of the field that contains
the numeric value.
-
d
-
specifies the number of digits
to the right of the decimal point in the numeric value. If the data contain
decimal points, the d value is ignored. This
argument is optional.
The
Ew.d informat is not used extensively because the SAS informat
for standard numeric data, the w.d informat, can read numbers in scientific notation. Use
Ew.d to permit only scientific
notation in your input data.
input @1 x e7.;
Data Line |
Results |
----+----1----+
|
|
1.257E3
|
1257
|
12d3
|
12000
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.