ConvertDataTypes.comConvert data types programming in one click !

Convert String to Double in VB

    7321 hits
  • Dim vIn As String
  • vIn = "-4.94065645841247E-324" 'comma or dot, it is culture depends
  • Dim vOut As Double
  • vOut = CDbl(vIn)