ExCellerate.Functions.Math.Sum (excellerate v0.4.0)

Copy Markdown View Source

Returns the sum of the given values.

Accepts any number of numeric arguments.

Examples

sum(1, 2, 3)     6
sum(10)          10
sum(a, b, c)     (sum of a, b, and c)