Less
The Less function outputs the result of the less than relational operator performed on the inputs.
Input
Number of Connections: 1
Input | Data Type | Description |
Input1 | All | Data |
Input2 | All | Sets the Data property. (optional) |
Output
Output | Data Type | Description |
Output1 | Boolean | The result of the less than relational operator performed on the inputs. |
Property
Name | Property Type | Description |
Data | All | The data to be compared against the first input stream's data. |
CompareType | choice |
Specifies the data type that the data is to be cast to.
(Input1) | - | Cast the data to the same data type as Input1 .
|
String | - | Cast the data to the String data type.
|
Integer | - | Cast the data to the Integer data type.
|
Decimal | - | Cast the data to the Decimal data type.
|
Double | - | Cast the data to the Double data type.
|
Boolean | - | Cast the data to the Boolean data type.
|
DateTime | - | Cast the data to the DateTime data type.
|
Binary | - | Cast the data to the Binary data type.
|
|
How comparisons are made
When CompareType
is a numeric type (Integer,Decimal,Double) or DateTime, the numerical value is compared.
When CompareType
is String, the strings are compared in lexicographical order.
When CompareType
is Boolean, True is treated as larger than False.
When CompareType
is Binary, starting from the front of the byte streams, the byte values are compared by size.