GetVariableDouble Function

Gets a boolean variable. This is the simple version of GetVariable that returns the value directly.

Syntax

double GetVariableDouble(
const string&in name
)

Parameters

const string&in name
The name of the variable.

Return value

double
The variable value. If the variable does not exist or the type is not matching, 0 is returned.

Remarks

None.