VirtualUserScript SetFloat Method C# API
Sets a float value in the dictionary.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.4.0.26
Syntax

public void SetFloat(
	string key,
	float val
)

Parameters

key
Type: System String
The key to associate with val in the dictionary.
val
Type: System Single
The float to be associated with the key in the dictionary.

Implements

IDataDictionary SetFloat(String, Single)
Remarks

key is associated with the value in the dictionary. If the key already exists in the dictionary then the old value is replaced by the new value, otherwise a new key/value pair is added to the dictionary.
Examples

The following example demonstrates setting a float in the data dictionary.
SetFloat("amount", 123.45f);
See Also