This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

^sum( group , attribute[, precision] )^ (DEPRECATED)

This pages describes features, codes or syntax whose use is now DEPRECATED, i.e. not advised either for new or continued pre-existing use.

Deprecated aspects of Tinderbox may be supported on a legacy basis but the latter support can't be presumed to be indefinite. Therefore you should update your active TBX documents to latest practice as soon as practical.

Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Calculation   [other codes of this type]

 group   [codes with similar scope]

 Already in v5.0.0


DEPRECATED - use ^value(sum())^. See ^value^, sum().

^sum( group , attribute[, precision] )^

Returns the sum of the attribute values for all the notes within the group.

An optional third argument precision lets you set the number of decimal points that are exported by the numeric group markup elements(^sum^, ^min^, ^max^, ^mean^, ^count^). Note that precision is always the third argument.

Internally, the sum() operator may be used.

Possible relevant notes (via "Similar Notes" feature):

A Tinderbox Reference File : Deprecated Usage : Deprecated Export Codes : ^sum( group , attribute[, precision] )^ (DEPRECATED)