GreaterThan method (number)

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

Syntax

number1.GreaterThan(number2)

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

Example

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

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

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