ConvertDataTypes.comConvert data types programming in one click !

Convert Double to Integer in VB

    4772 hits
  • Dim vIn As Double
  • vIn = -32768
  • Dim vOut As Integer
  • vOut = CInt(vIn)