divide
Modified on Tue, 22 Aug 2023
Description
Divide one number by another
Syntax
divide(dividend, divisor)
Parameters
Input Parameter | Type | Description |
---|---|---|
dividend | number | The number to be divided |
divisor | number | The number by which the dividend is to be divided |
Return value
Type |
---|
number |
Sample
Example | Result | Description |
---|---|---|
divide(10, 2) | 5 | Returns the quotient after dividing the dividend by the divisor |
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