Data Subtype Conversion
Asc Function |
Returns the ASCII code for a character |
CBool Function |
Returns a Boolean data type |
CByte Function |
Returns a Byte data type |
CCur Function |
Returns a Currency data type |
CDate Function |
Returns a Date data type |
CDbl Function |
Returns a Double data type |
Chr Function |
Returns the character corresponding to a numeric ASCII code |
CInt Function |
Returns an Integer data type |
CLng Function |
Returns a Long data type |
CSng Function |
Returns a Single data type |
CStr Function |
Returns a String data type |
DateSerial Function |
Returns a date from valid year, month and day values |
DateValue Function |
Returns a date from any valid date expression |
Fix Function |
Returns an integer portion of number |
Hex Function |
Returns a hexadecimal representation of a number |
Int Function |
Returns the integer portion of a number |
Oct Function |
Returns an octal representation of a number |
TimeSerial Function |
Returns a date from valid hour, minute, and second values |
TimeValue Function |
Returns a date value from any valid time expression |
Get VBScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.