Skip to main content

CDbl()

This conversion will change a number into a number of type double.

Script

Sub Main

     Dim myNumber As Integer
     myNumber = 55
    
     MsgBox TypeName(myNumber) 'Returns Integer
     MsgBox TypeName(CDbl(myNumber)) 'Returns Double
End Sub

IDEAScript Language