ConvertDataTypes.comConvert data types programming in one click !

Convert Single to Integer in VB

    7112 hits
  • Dim vIn As Single
  • vIn = -32768#
  • Dim vOut As Integer
  • vOut = CInt(vIn)