ConvertDataTypes.comConvert data types programming in one click !

Convert Single to Integer in VB

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