ConvertDataTypes.comConvert data types programming in one click !

Convert Double to Integer in VB

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