Equals method (number)

Returns a value indicating whether this number and a specified number represent the same value.

Syntax

number1.Equals(number2)

Returns true if number1 and number2 are equal; otherwise, false.

Example

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

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

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