CLng Returns an expression that has been converted to a Variant of subtype Long. CSng Returns an expression that has been converted to a Variant of subtype Single. CStr Returns an expression that has been converted to a Variant of subtype String. Hex Returns a string representing the hexadecimal value of a number. Oct Returns a string representing the octal value of a number.
Description Returns a value indicating the subtype of a variable.
The varname argument can be any variable. As a result, the names can be used anywhere in your code in place of the actual values. What I mean by this is simply the fact that you can reuse a variant for several purposes. This may not lend itself very well to more readable code, but it can help reduce the memory foot print of your application. Most of the time you'll want to use more structured code, but there may be times where this seems somewhat appropriate.