Ew. Format

Writes numeric values in scientific notation.

Category: Numeric
Alignment: Right

Syntax

Arguments

w

specifies the width of the output field.

Default 12
Range 7–32

Details

SAS reserves the first column of the result for a minus sign.

Example

Statements
Results
----+----1----+
select put(1257,e10.);
 1.257E+03
select put(-1257,e10.);
-1.257E+03
Last updated: February 23, 2017