Description
The CDbl() function converts an expression to type Double.
The expression must be a numeric value.
This function has the form:
CDbl(expression)
Parameter | Description |
---|---|
expression | (required) Any valid expression |
Examples
The following examples show the basic use of this function:
Example 1
Msgbox(CDbl(134.345))
This produces the following result:
134.345
Example 2
Msgbox(CDbl(14111111113353355.345455))
This produces the following result:
1.41111111133534E+16
Miscellaneous Information
Supported in Version: | 1.0 |
---|