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

Tinderbox Icon


Code Type:   Calculation
Code Scope of Action:   group

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

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

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

Internally, the sum() operator may be used.


Up: Export Codes - Full Listing
Previous: ^similarTo( item, count[, start, list-item-prefix, list-item-suffix, end] )^  Next: ^text( item[, N, plain] )^ 

[Last updated: 5 Oct 2009, using v4.7.1]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox