LessEqual

The LessEqual function outputs the result of the less than or equal relational operator performed on the inputs.

Input/Output

Number of Connections: 1
InputData TypeDescription
Input1AllData
Input2AllSets the Data property. (optional)

OutputData TypeDescription
Output1BooleanThe result of the less than or equal relational operator performed on the inputs.

Property

NameProperty TypeDescription
DatastringThe data to be compared against the first input stream's data.
CompareTypechoice

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

The value is compared according to specified value by CompareType.

Data TypeHow comparisons
Integer, Decimal, Double and DateTimeThe numerical or time value is compared
StringThe strings are compared in lexicographical order.
BooleanTrue is treated as larger than False.
BinaryStarting from the front of the byte streams, the byte values are compared by size.

When the value of Data cannot be converted to specified data type, the warning is displayed in compile time and it is treated as a minimum value in that type(*)
* 0 when numeric type, "1970-01-01T00:00:00" when date type.