VBA CDbl Function: The CDbl function in VBA converts an expression into a Double data type.

Syntax

Parameter

Expression (required) – This parameter represents the expression that that you want to convert to a Double.

Return

This function returns a double precision floating point number after converting the given expression into double data type.

Example 1

Output

$6.00

VBA CDbl Function

Example 2

Output

$1.21

VBA CDbl Function

Example 3

Output

VBA CDbl Function

Pin It on Pinterest

Share This