ListSummer

Computes the sum of all the elements of a list.

Input Ports

Output Ports

Parameters

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.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Strings

Technical History

Associated FME function or factory: @TCL

Search FME Community

Search for samples and information about this transformer on the FME Community.