ConvertDataTypes.comConvert data types programming in one click !

Convert Double to Long in VB

    21695 hits
  • Dim vIn As Double
  • vIn = -2147483648#
  • Dim vOut As Long
  • vOut = CLng(vIn)