Skip to main content

EXP

Description

Returns x raised to the base e.

Alias

  • DEXP

Syntax

EXP(<x>)

Parameters

ParameterDescription
<x>independent variable

Return Value

Return a value of type double

  • If the parameter has a null value, it returns NULL

Example

select exp(2);
+------------------+
| exp(2.0) |
+------------------+
| 7.38905609893065 |
+------------------+
select exp(3.4);
+--------------------+
| exp(3.4) |
+--------------------+
| 29.964100047397011 |
+--------------------+