PostgreSQL EXP Function

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PostgreSQL EXP() function

EXP() function

The PostgreSQL exp() function is used to return the exponentiation of a number as specified in the argument.

Syntax :

exp()

PostgreSQL Version : 9.3

Pictorial presentation of PostgreSQL EXP() function

Example : PostgreSQL EXP() function :

SELECT EXP(2.0) AS "Exponential";

Output :

    Exponential
--------------------
 7.3890560989306502
(1 row)