ConvertDataTypes.comConvert data types programming in one click !

Convert Long to Integer in VB

    5619 hits
  • Dim vIn As Long
  • vIn = -32768
  • Dim vOut As Integer
  • vOut = CInt(vIn)