bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL EXP() Function

Example

SELECT EXP(1);

Definition and Usage

The EXP() function returns e raised to the power of the specified number.

The constant e (2.718281...), is the base of natural logarithms.

Tip

Also look at the LOG() and LN() functions.

Syntax

EXP(
number
)

Parameter Values

ParameterDescription
numberRequired. The power number

Technical Details

Works in:From MySQL 4.0

Previous

MySQL DIV Function

Next

MySQL FLOOR() Function