skip to main content
Corticon Studio: Rule Language Guide : Rule operator details and examples : Greater than or equal to
 

Try Corticon Now

Greater than or equal to

SYNTAX

DateTime*
<DateTime1> >= <DateTime2>
Number
<Number1> >= <Number2>
String
<String1> >= <String2>

DESCRIPTION

DateTime*
Returns a value of true if <DateTime1> is greater than or equal to <DateTime2>. This is equivalent to <DateTime1> occurring on or after <DateTime2>
Number
Returns a value of true if <Number1> is greater than or equal to <Number2>. Different numeric data types may be compared in the same expression.
String
Returns a value of true if <String1> is greater than or equal to <String2>. Corticon Studio uses Character precedence: Unicode and Java Collator to determine character precedence.
*includes DateTime, Date, and Time data types

USAGE RESTRICTIONS

The Operators row of the table in Vocabulary usage restrictions applies, with the following exception: greater than or equal to may also be used in Conditional Value Sets & Cells (section 5 in Sections of Rulesheet that correlate with usage restrictions).

RULESHEET EXAMPLE

The following Rulesheet uses greater than or equal to to test whether string1 is greater than or equal to string2, and assign today's date to dateTime1 if it is. See today for an explanation of this literal term.

SAMPLE RULETEST

A sample Ruletest provides two examples. Input and Output panels are shown below: