How to: |
EXPONENT raises the constant e to a power.
EXPONENT(power)
where:
Numeric
Is the power to which to raise e. The output data type is numeric.
The following request prints the value of e and the value of e raised to the fifth power.
DEFINE FILE WF_RETAIL_LITE EXP1/D12.5 = EXPONENT(1); EXP2/D12.5 = EXPONENT(5); END TABLE FILE WF_RETAIL_LITE PRINT EXP1 EXP2 BY BUSINESS_REGION AS Region WHERE BUSINESS_REGION EQ 'EMEA' WHERE RECORDLIMIT EQ 1 ON TABLE SET PAGE NOPAGE END
The output is shown in the following image.