The Greater Than operator is used to compare two values and to check whether a value is greater than the other.<br/>
The >
can be used to compare values of the following types:
- text
- number
- duration
- datetime
- concept
- reference
Syntax
Value1 > Value2
Returns
The result of the >
operator is a boolean.<br/>
The result is true whenValue1
is greather than Value2
.<br/>
The result is false when Value1
is not greater than Value2
.
- number > number returns a boolean
- text > text returns a boolean (alphabetical comparison, case insensitive)
- datetime > datetime returns a boolean
- duration > duration returns a boolean
- concept > concept returns a boolean (applies to the order of concepts)
- reference > reference returns a boolean
Examples
15 > 7 /* results in true */