subtract
Modified on Tue, 22 Aug 2023
Description
Subtract one number from another
Syntax
subtract(first, second)
Parameters
Input Parameter | Type | Description |
---|---|---|
first | number | The number to be subtracted from |
second | number | The number to subtract |
Return value
Type |
---|
number |
Sample
Example | Result | Description |
---|---|---|
subtract(10, 5) | 5 | Returns the difference between the two input numbers |
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