listsummer.
计算列表的所有元素的总和。
输入端口
This transformer accepts features with a list attribute.
Output Ports
Features with the summed list attribute are output through this port.
Parameters
The list attribute whose elements are to be summed.
Each element must be a valid integer or floating point number. List elements that are non-numeric will be considered to have a value of 0.
The attribute used to store the sum of the list attribute elements. The default value is_sum.
Example
Suppose this feature enters this transformer:
somelist{0}.val = 12
somelist{1}.val = 0.5
SOMELIST {2} .val = 8
solosist {3} .val ='a'
somelist{4}.val = 1
Then the value assigned to the resulting sum attribute would be 21.5.
编辑变换器参数
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, clickbeside the applicable parameter. For more information, see变压器参数菜单选项.
变压器类别
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.