FME Transformers: 2024.1

Categories
Strings

ListSummer

Computes the sum of all the elements of a list.

Example

Suppose this feature enters this transformer:

somelist{0}.val = 12

somelist{1}.val = 0.5

somelist{2}.val = 8

somelist{3}.val = 'a'

somelist{4}.val = 1

Then the value assigned to the resulting sum attribute would be 21.5.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the ListSummer on the FME Community.