Arithmetic Operators
☞ Right click and Open Images on another tab to see in full size
Add
Context: Workflow, Dashboard Widget, Computed field, Report
This piece, even though listed under the Arithmetic Operators section, is not a true-blue arithmetic operator. It can do the following:
Add 2 number type values of custom fields, variables or return values
Add 2 strings to create a new string
In the example shown, we are adding the Type value (TEXT) returned by Member > Type to a label and showing the same
Subtract
Context: Workflow, Dashboard Widget, Computed field, Report
Use this piece to subtract 2 values of NUMBER type. These can be in the form of directly typed in numbers or Variables or Custom fields or return value of another piece.
Multiply / Divide
Context: Workflow, Dashboard Widget, Computed field, Report
Use this piece to Multiply or Divide 2 values of NUMBER type. These can be in the form of directly typed in numbers or Variables or Custom fields or return value of another piece
In the first example shown, we are multiplying 2 numbers directly and showing the same. In the second example, we can setting a NUMBER type variable, MyNumber, to half the Current Weight collected in the corresponding Custom field.
Exponent
Context: Workflow, Dashboard Widget, Computed field, Report
Do we need to explain? Here is a hint. In the example shown, it returns 49.