Greater than
- Last Updated: December 9, 2022
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
| DateTime* | <DateTime1> >
<DateTime2>
|
| Number | <Number1> >
<Number2> |
| String | <String1>
> <String2> |
| DateTime* | Returns a value of true if <DateTime1> is greater than or equal to <DateTime2>. This is equivalent to
<DateTime1> occurring after
<DateTime2> |
| Number | Returns a value of true if <Number1> is greater than <Number2>. Different numeric data types may be
compared in the same expression. |
| String | Returns a value of true if <String1> is greater than <String2>. |
*includes DateTime and Date data types
USAGE RESTRICTIONS
The Operators row of the table in Vocabulary usage restrictions applies, with the following exception: greater than may also be used in Conditional Value Sets & Cells (section 5 in Sections of Rulesheet that correlate with usage restrictions).
The following Rulesheet uses greater than to test whetherstring1 is greater
than string2, and assigns YES or NO to string3.
![]()