Return 'e' raised to the power of different numbers:
The exp() function returns e raised to the power of x (ex).
'e' is the base of the natural system of logarithms (approximately 2.718282) and x is the number passed to it.
Parameter | Description |
---|---|
x | Required. Specifies the exponent |
Return Value: | 'e' raised to the power of x |
---|---|
Return Type: | Float |
PHP Version: | 4+ |