CVar Function

Syntax:

CVar(expr)

Group:

Conversion

Description: 

Converts to a variant value.

Parameters:

Parameter

Description

expr

Converts a number or string value (or object reference) to a variant value.

Example:

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