Conversion Functions Overview
Use the Conversion functions to convert a value from one data type to another. Conversion functions can use the following data types as arguments: Numeric
and String
.
Function | Description |
---|---|
CBool(expression) |
Converts an expression to Boolean value. |
CDbl(expression) |
Converts an expression to Double value. |
CInt(expression) |
Converts an expression to System.Int32 , i.e. int value. |
CDate(expression) |
Converts an expression to Date value. |
CStr(expression) |
Converts an expression to String value. |