Mathematical, Logical, and String Operators

Cognos® Transformer supports mathematical operators and string concatenate operators. It also supports logical operators and comparison operators, but only in an if-then-else conditional construct.

Operators

Description

Mathematical Operators (+, -, *, /, ^)

Perform mathematical operations.

And Logical Operator

Returns True if the conditions on both sides are true.

Or Logical Operator

Returns True if either of the two conditions on both sides is true.

Not Logical Operator

Returns True if the condition is false.

String Operator (+)

Concatenate two strings together.