CVar Function

Syntax:

CVar(Num|$)

Group: Conversion

Description:
Convert to a variant value.

Parameter Description

Num|$ Convert a number or string value (or object reference) to a variant value.

Example:

Sub Main
  Debug.Print CVar(Sqr(2)) ' 1.4142135623731
End
Sub