AddVariableFloat method

The AddVariableFloat method adds a variable of type double and its value to an object.

Syntax

VBScript
oDCO.AddVariableFloat (strName as String, fValue as Double) as Boolean
C#
bool AddVariableFloat(string strName, double fValue)

Applies to

All object types.

Arguments

strName
The variable name.
fValue
The value of the variable as a double.

Returns

Returns true if successful; returns false if unsuccessful.

Example

See AddVariable method.