exp
function
Applies to: Databricks SQL Databricks Runtime
Returns e
to the power of expr
.
Syntax
exp(expr)
Arguments
expr
: An expression that evaluates to a numeric.
Returns
A DOUBLE.
Examples
> SELECT exp(0);
1.0
> SELECT exp(1);
2.7182818284590455