
280
|
Chapter 12: The Language Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
See Also
Continue Statement, End Statement
Exp Function
Class
System.Math
Syntax
Dim result As Double = Math.Exp(d)
d (required; Double)
Any valid numeric expression
Description
The Exp function returns the natural number e raised to the power d.
Usage at a Glance
• The maximum value for d is 709.782712893.
• Exp is the inverse of the Log function.
• This is a shared member of the System.Math class, so it can be used without an
instance.
Version Differences
In VB 6, Exp is an intrinsic VB function. In the .NET platform, it is a member of the
System.Math class and not directly part of the VB language.
See Also
Log Function, Log10 Function, E Field, Pow Function
Statement Description
Exit Do
Exits a Do...Loop statement. If the statement appears in nested Do...Loop loops, only the
innermost loop is exited. Program execution continues with the first line of code after the
exited loop.
Exit For
Exits a For...Next or a For Each...Next loop. If the statement appears in nested For loops
of any type, only the innermost loop is exited. Program execution continues with the first line
of code after the exited loop.
Exit Function
Exits the current function and returns control to the calling procedure.
Exit Property
Exits the current property (either Get or Set) and returns control ...