GreaterThan

Syntax

GreaterThan(Expression1, Expression2)

Description

Returns a value of 1 if parameter 1 is greater than 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 operator ">" directly in your expressions. This helps to simplify your expressions and make them easier to understand.

Example

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