« Back to Product

Documentation

GetValueFloat

 float GetValueFloat (int $VariableID) 

Parameters

VariableID

ID of the variable

Returns

Value of the specified variable

Description

The command returns the content of the IP-Symcon variable with the ID VariableID. The selected variable must have the type Float. If the variables type is not Float, the command stops with an error. No conversion is done by this command. For a type-unsafe query you can use the command GetValue.

Example

$current_Temperature = GetValueFloat(47788);
Any questions?