Home » VB 6.0 Tutorial » VB 6 Type Casting

VB 6 Type Casting

Type casting in VB 6 means converting from one data type to another. The VB6 language allows type conversion using functions.

Here is a list of functions with their description.

FunctionDescription
ChrANSI to string
Format, LCase, UCaseString to Lowercase or Uppercase
DateSerial, DateValueDate to Serial Number
Hex, OctDecimal to Hexadecimal or Oct
Format, StrNumber to Str
CBool, CInt, CByte, CLng,CCur, CDate, CDec, CSng, CVar, CStr,CVErr,CDbl, Fix, IntConvert from a data type to another
Day, Month, Weekday, YearDate to Day, Month, Weekday, or Year
Hour, Minute, SecondTime to Hour, Minute, or Second
AscString to ASCII value
TimeSerial, TimeValueTime to Serial number
ValString to number
(adsbygoogle = window.adsbygoogle || []).push({}); </script

Please support us by disabling your adblocker or whitelist this site from your adblocker. Thanks!

turn of adblocker imag

(adsbygoogle = window.adsbygoogle || []).push({});