EXPN: Evaluating a Number in Scientific Notation

How to: |

The EXPN function evaluates a number expressed in scientific notation.

Syntax: How to Evaluate a Number in Scientific Notation

EXPN(n.nn {E|D} {+|-} p)

where:

- n.nn
Numeric

Is a numeric constant that consists of a whole number component, followed by a decimal point, followed by a fractional component.

- E, D
Denotes scientific notation. E and D are interchangeable.

- +, -
Indicates if p is positive or negative.

- p
Integer

Is the power of 10 to which to raise n.nn.

Note: EXPN does not use an output argument. The format of the result is floating-point double precision.

Example: Evaluating a Number in Scientific Notation

EXPN evaluates SCI_DATA.

EXPN(SCI_DATA)

For 1.03E+2, the result is 103.

WebFOCUS |