Basic - Explicit conversion to 64-bit real number: CDbl

The required type conversion can be carried out as follows:

CDbl

Description

 CDbl (expr)
Used keywords: cdbl

Input


Output

Compatible programing languages:
Visual Basic .NET | FreeBASIC

Examples

Basic

Explicit conversion to 64-bit real number the possible of use:
Dim x As double= 3.14159265359     ' x = 3.14159265359
Dim y As double= 123456789         ' y = 123456789.0
y =CDbl((x * y))          ' y = 387850941.35821074

You can find it in the following collections: explicit type conversions
Languages: en hu cz sk