VALUE1
>=
VALUE2

The >= operator compares two values to see if the first value is greater than or equal to the second value.


Parameters

This operator has two parameters:

value1 – The first numeric or text value.

value2 – The second numeric or text value.


Description

The >= operator compares two values to see if the first is greater than or equal to the second. The two values can be either text or numeric, but they must both be the same type. The result is true if the first value is greater than or equal to the second, and false if the first is less than the second. Here are some examples:

73 >= 34 ☞ true
34 >= 45 ☞ false
56 >= 56 ☞ true
"xyz" >= "abc" ☞ true
"abc" >= "xyz" ☞ false
"abc" >= "abc" ☞ true
"123" >= 123 ☞ error

There are two alternate spellings available: isgreaterthanorequalto and ≥ (Option->).

598 isgreaterthanorequalto 447 ☞ true
"abc" ≥ "def" ☞ false

Note: The Boolean values true and false are actually integer (numeric) values -1 and 0.


Error Messages

Cannot compare text with number. – Both parameters must be the same data type. If one is text and the other is numeric, the result is this error.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now allows alternate spelling