LessThan method (number)

Returns a value indicating whether this number is less than a specified number.

Syntax

number1.LessThanOrEquals(number2)

Returns true if number1 is less than number2; otherwise, false.

Example

{% Var value1 = 7 %}
{% Var value2 = 2 %}

Answers: {{ value1.LessThan(value2) }},
         {{ value2.LessThan(value1) }},
         {{ value1.LessThan(7) }}

The above example would output: Answers: False, True, False