add
Modified on Tue, 22 Aug 2023
Description
Add two numbers
Syntax
add(first, second)
Parameters
| Input Parameter | Type | Description | 
|---|---|---|
| first | number | First number to be added | 
| second | number | Second number to be added | 
Return value
| Type | 
|---|
| number | 
Sample
| Example | Result | Description | 
|---|---|---|
| add(5,6) | 11 | Returns the sum | 
To view all the Math and Number functions, click here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article