LessThan

Syntax

LessThan(Expression1, Expression2)

Description

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

Example

LessThan(-1,3) = 1
LessThan(3,1) = 0
LessThan(1,1) = 0
-1 < 3  --> 1
3 < 1  --> 0
1 < 1  --> 0