APPX Software Library

Chapter 4: SQL Language Elements

4.9.2.31 EXP function (ODBC compatible)

Syntax

EXP ( expression )

Description

The scalar function EXP returns the exponential value of expression (e raised to the power of expression).

Example

SELECT EXP( 4 ) 'e to the 4th power'
     FROM SYSTPE.SYSCALCTABLE;

Notes

  • expression must evaluate to an approximate numeric data type.