exp
function
Applies to: Databricks SQL
Databricks Runtime
Returns e
to the power of expr
.
exp(expr)
expr
: An expression that evaluates to a numeric.
A DOUBLE.
> SELECT exp(0);
1.0
> SELECT exp(1);
1.7182818284590455
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
exp
functionApplies to: Databricks SQL
Databricks Runtime
Returns e
to the power of expr
.
exp(expr)
expr
: An expression that evaluates to a numeric.A DOUBLE.
> SELECT exp(0);
1.0
> SELECT exp(1);
1.7182818284590455