Exp function
Returns a Double specifying e (the base of natural logarithms) raised to a power.
Syntax
Exp(number)
The required number argument is a Double or any valid numeric expression.
Remarks
If the value of number exceeds 709.782712893, an error occurs. The constant e is approximately 2.718282.
Note
The Exp function complements the action of the Log function and is sometimes referred to as the antilogarithm.
Example
This example uses the Exp function to return e raised to a power.
Dim MyAngle, MyHSin
' Define angle in radians.
MyAngle = 1.3
' Calculate hyperbolic sine.
MyHSin = (Exp(MyAngle) - Exp(-1 * MyAngle)) / 2
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기