·  VB .NET - Syntax - Variables - Double

 

- Info:

  - This tutorial shows how to create Double and convert it to other Data Types.

  - Double data type is an 64-bit variable which can store negative value from interval

    [1.79769313486232e308, -4.94065645841247e-324] and positive value from interval

    [4.94065645841247e-324, 1.79769313486232e308]

 

- Procedure:

  - Create VB .NET Console Application Test.vb

 

    Test.vb

    Module Module1

    

      Sub Main()

    

        'CREATE.------------------------------------------------------------

        Dim value As Double

            value = -1.79769313486232e308

            value = -4.94065645841247e-324    

            value =  4.94065645841247e-324 

            value =  1.79769313486232e308 

    

        'DISPLAY.-----------------------------------------------------------

        MsgBox(value)

     

      End Sub

    

    End Module