Skip to main content

Math: sum

Calculate the total addition of numbers.

Example
# Example with no initial value:
Input: [1, 2, 3, 4]
Ouput: 10

# Example with initial value = 10:
Input: [1, 2, 3, 4]
Ouput: 20

Parameters

Initial value
Start sum at this number instead of 0

Input

Number (multiple)
Any numbers as input.

Output

Number
Result of the addition.