Ew. Format

Writes numeric values in scientific notation.

Category: Numeric
Alignment: Right

Syntax

Ew.

Syntax Description

w

specifies the width of the output field. The output field can display up to 14 significant digits.

Default 12
Range 7–32

Details

When formatting values in scientific notation, the E format reserves the first column of the result for a minus sign and formats up to 14 significant digits.

Example

put @1 x e10.;
Value of x
Result
----+----1
1257
 1.257E+03
-1257
-1.257E+03