GreaterThanOrEqual

Syntax

GreaterThanOrEqual(Expression1, Expression2)

Description

Returns a value of 1 if parameter 1 is greater than or equal to parameter 2. Otherwise returns a value of zero.

Note: This function is included for backwards compatibility with earlier versions of WEAP. In the latest versions of WEAP you can now use the standard greater than or equal to operator ">=" directly in your expressions. This helps to simplify your expressions and make them easier to understand.

Example

GreaterThanOrEqual(-1,3) = 0
GreaterThanOrEqual(3,1) = 1
GreaterThanOrEqual(1,1) = 1  
-1 >= 3  --> 0
3 >= 1  --> 1
1 >= 1  --> 1