github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/website/docs/language/functions/sum.html.md (about) 1 --- 2 layout: "language" 3 page_title: "sum - Functions - Configuration Language" 4 sidebar_current: "docs-funcs-collection-sum" 5 description: |- 6 The sum function takes a list or set of numbers and returns the sum of those 7 numbers. 8 --- 9 10 # `sum` Function 11 12 `sum` takes a list or set of numbers and returns the sum of those numbers. 13 14 15 ## Examples 16 17 ``` 18 > sum([10, 13, 6, 4.5]) 19 33.5 20 ```