EXP¶
The EXP function is used to calculate the exponential value of a number. It takes a single FLOAT or INTEGER argument and returns a FLOAT value representing the exponential value of the given number.
Example¶
The following example demonstrates the usage of the EXP function in a SQL query:
This will return the following result:
Errors¶
- If the argument is not of FLOAT or INTEGER type, a
FunctionRequiresFloatValueerror will be raised. - If the number of arguments provided to the function is not equal to 1, a
FunctionArgsLengthNotMatchingerror will be raised.