EQUAL (==)

The following section describes the syntax and usage of the EQUAL (==) function in ActivityInfo.

Description

The EQUAL (==) function is used to compare whether two values are equal.

Syntax

value1 == value2

Argument Required Description
value1 Yes The first value you wish to compare.
value2 Yes The second value you wish to compare.

Result

  • TRUE if both values are equal.
  • FALSE if the values are not equal, or of different types.

Example

We will be using the EQUAL function to evaluate whether two value are equal, and using the IF function to return a value.

Arguments

We will be using the Quantity Field "Age" with Field code "AGE".

Formula

IF(AGE == 21,1,0)

Results