Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript CDbl Function

VBScript CDbl Function


VBScript reference manual 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 »


VBScript reference manual Complete VBScript Reference Manual