Data types in LOGIKEDITOR
Within the logic groups, four file types are differentiated.
Data type | Value range | Comment |
---|---|---|
Boolean | true / false | Boolean is a logic value that may only be logic true and logic false. |
Integer | 64 bit integer | Signed integer. 64 bits result in a possible numerical range |
Float | 64 bit float | Float meets the IEEE-754 standard. The value range is |
String | Text | Text in UTF-8 format. There is no limitation regarding length. Please note that very long texts may cause delays for some operations in logic groups. |
Colour | RGBW (32 bit) | A special type for transporting colour settings. The light scene is the application example. In other logic elements, the colour value is interpreted as integer. |
The logic elements try to convert the data types of the incoming data for their own use case, if possible. If this is not possible, the logic element will normally not execute any action.
Examples for converting between the data types:
Start data type | Value | Target data type | Value |
---|---|---|---|
Boolean | true | Integer | 1 |
Boolean | false | Integer | 0 |
Float | 33.5 | Integer | 33 |
String | "55" | Integer | 55 |
String | "BAB" | Integer | - |
Integer | 10 | Boolean | true |
Integer | 0 | Boolean | false |
If possible, data types are converted as necessary.
///