Functions: GreaterThan, LessThan, EqualTo

Applies to Infiniti v8.1 or later

This group of functions compare their parameters. A true result of 1 or a false result of 0 is returned. These functions are often used in conjunction with the IIf function to return a string or value other than 0 or 1.


IsEqual( p[1], p[2], .., p[n] )
IsNotEqual( p[1], p[2])
IsGreaterThan( p[1], p[2])
IsLessThanOrEqualTo ( p[1], p[2])


p[n] Each parameter is an expression that is evaluated and then compared to the other parameter to determine a true or false value.


IIf(IsEqual(0, 1 - 1), "Values are equal!", "Values are unequal!")


Related Articles



functions is greater equal less