VBScript CDbl Function
Complete VBScript Reference Manual
The CDbl function converts an expression to the Double type.
The expression must be a number.
Syntax
CDbl(expression)
| Parameters | Description |
|---|---|
| expression | Required. Any valid expression. |
Example
Example 1
The example above produces the following output:
134.345
Try it »
Example 2
The example above produces the following output:
1.41111111133534E+16
Try it »
Complete VBScript Reference Manual