EXP (TSQL Function)
Returns the exponential value of the argument.
Syntax
EXP ( float_expression )
Arguments
- float_expression
- is an expression of type
float
.
Return Types
Returns float
.
Remarks
The constant e is the base of the natural logarithm, and is approximately equal to 2.71828.
The expression EXP(a)
is e raised to the power a.
Examples
PRINT EXP(1), EXP(3.5);
The result is:
2.71828182845905| 33.1154519586923|