Converts the value, specified as an argument, to a value of type long.
Copy Code |
---|
long CLong ( |
Returns the specified argument converted to long, or 0, if the argument cannot be converted.
If value is a number of any kind, it is converted to long. If value is a string, it is parsed as a long and the result is returned. If none of the above applies, 0 is returned.
Conversion Functions
CBool Function
CDate Function
CDbl Function
CInt Function
CStr Function