1.3.5.1 Add

The Add processor adds together numeric values. The numeric values may be input from any number of numeric attributes. It is also possible to add a constant value to the sum, or to pass an array into the processor, in which case all the elements will be added.

Use Add to add together a number of numeric values, or to add a constant to a numeric value.

The following table describes the configuration options:

Configuration Description

Inputs

Any number of numeric attributes.

Options

Specify the following options:

  • Constant: numeric value to add to the sum. Default value: 0.0.

Outputs

Describes any data attribute or flag attribute outputs.

Data Attributes

The following data attributes are output:

  • AddedValue: a new Number attribute with the sum of the input attribute(s) and the optional constant.

Flags

None.

The Add processor presents no summary statistics on its processing.

In the Data view, each input attribute is shown with the new AddedValue to the right.

Output Filters

None.

Example

In this example, a constant (25) is added to a BALANCE attribute:

BALANCE (asc) AddedValue

-74.28

-49.28

-11.6

13.4

-0.01

24.99

-0.01

24.99

-0.01

24.99