== (equal to) (PEL)

This operator performs a comparison operation that determines whether the value of one PerformancePoint Expression Language (PEL) expression is equal to the value of another PEL expression.

Expression1 == Expression2 

Operands

  • Expression1
    A valid PEL numeric expression that returns a Boolean value, a numeric value, or a string.
  • Expression2
    A valid PEL numeric expression that returns a Boolean value, a numeric value, or a string.

Return Value

A Boolean value based on the following conditions:

  • TRUE if both parameters are non-null, and the value of the first parameter is equal to the value of the second parameter.

  • FALSE if both parameters are non-null, and the value of the first parameter is not equal to the value of the second parameter.

  • NULL if either or both parameters evaluate to a null value, unless the comparison 0 = null is made, in which case the Boolean value contains true.

Remarks

The operands may be of type Boolean, Number, or String. However, to perform the operation, Expression1 and Expression2 must agree in type.

See Also

Other Resources

PEL operators