CVar Function

Syntax
CVar(expr)
Group
Conversion
Description
Convert to a Variant value.
Parameters Description
expr Convert a number or string value (or object reference) to a variant value.

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