Chapter Contents

Previous

Next
Ew.d

Ew.d



Reads numeric values that are stored in scientific notation and double-precision scientific notation

Category: Numeric


Syntax
Syntax Description
Comparisons
Examples

Syntax

Ew.d

Syntax Description

w
specifies the width of the field that contains the numeric value.
Default: 12
Range: 1-32

d
optionally 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.
Range: 0-31


Comparisons

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.


Examples

input @1 x e7.;

Data Lines Results
----+----1----+

1.257E3
1257
12d3
12000


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.