Softanza
StartFrançais
Softanza
How-to · Lists

Add up all the numbers in a list

Softanza
Sum([ 1, 2, 3, 4 ])
#--> 10
Output
10

ran: printed what the recipe promises

run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)

The methods

stzListOfNumbers.Sum · stzList.Sum

See also

Words for this task: sum, total, add up, aggregate, accumulate, add numbers