Description

Add multiple numbers to calculate their sum

Syntax

sum(number1, number2, ..., numberN)

Parameters

Input ParameterTypeDescription
number1, number2, ..., numberNnumberNumbers to be added together

Return value

Type
number

Sample

ExampleResultDescription
sum(5, 10, 15)30Returns the sum of the input numbers

To view all the Math and Number functions, click here.