Skip to content

EXP

Return the exponential value for a number.

EXP(number)

For example:

premdb=# SELECT EXP(10);
      exp        
------------------
 22026.4657948067
(1 row)
premdb=# SELECT seasonid, EXP(seasonid) FROM season;
 seasonid |       exp        
----------+------------------
       1 | 2.71828182845905
       2 | 7.38905609893065
       3 | 20.0855369231877
       4 | 54.5981500331442
       5 | 148.413159102577

Parent topic:Mathematical Functions