Documentation
SetValueFloat
boolean SetValueFloat (int $VariableID, float $Value)
Parameters
VariableID | ID of the variable |
Value | 64Bit floating point |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
The command sets the value of an 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. A conversion from Integer or Boolean (0/1) is done. For a type-unsafe query you can use the command SetValue.
Example
SetValueFloat(47788, $current_Temperature);