Search here for all the info you want in this Blog

Datatype Conversion Functions


Datatype Conversion Functions


q VBScript supports the following commonly used conversion functions:
q CBool(vVariant) - Converts an expression to a variant of subtype Boolean
q CByte(vVariant) - Converts an expression to a variant of subtype Byte
q CCur(vVariant) - Converts an expression to a variant of subtype Currency
q CDate(vVariant) - Converts a valid date and time expression to the variant of subtype Date
q CDbl(vVariant) - Converts an expression to a variant of subtype Double
q CInt(vVariant) - Converts an expression to a variant of subtype Integer
q CLng(vVariant) - Converts an expression to a variant of subtype Long
q CSng(vVariant) - Converts an expression to a variant of subtype Single
q CStr(vVariant) - Converts an expression to a variant of subtype String 

No comments:

Post a Comment