The function SUM takes a List of Numbers and adds them all together.
SUM(list_of_numbers) -> sum_of_numbers
- list_of_numbers (type: List)
- A list of Numbers to add together.
- sum_of_numbers (type: Number)
- Number representing the sum of all the Numbers in the given List.
The following example takes a List of Numbers and returns the sum of all the Numbers in the given List:
SUM([1, 4, 3, 3, 2]) -> 13