You need to make sure that your variables are stored in plastic or strings.
If it is VT_I4, you can directly assign intivaloue = var. Interval If it is a string, it must be converted into a number first. Assignment [/Quote] is the value returned by the function.