Greater

The Greater function outputs the result of the greater than relational operator performed on the inputs.

Input

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

Output

OutputData TypeDescription
Output1BooleanThe result of the greater than relational operator performed on the inputs.

Property

NameProperty TypeDescription
DataAllThe 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

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.