Returns the sum of the specified numbers. Returns an integer if all parameters are integers.
sum( addend, … )
addend: (Decimal Array) A number or array of numbers that will be added into the final sum.
Decimal
If the addend values are integers, the function will return an integer.
sum(1,2,3,4)
returns 10