CDbl Function

Converts an expression to a Double Precision value. The expression argument is any valid expression.

CDbl (Expression)

Return Value

Returns an expression that has been converted to a Double Precision value.

Examples

CDbl (123)

Returns the double precision value 123.  

CDbl ("200000000000000000000.00")

Returns the double precision value 2e+20."

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

CBool function | CCur function | CDate function | CDec function | CInt function | CStr function | CUInt function


© 2004-2021 looksoftware. All rights reserved.