percent
Modified on Tue, 22 Aug 2023
Description
Use this function to calculate the percentage of a value.
Syntax
percent(value, percentage)
Parameters
Input Parameter | Type | Description |
---|---|---|
value | number | The value for which you want to calculate the percentage |
percentage | number | The percentage to calculate |
Returns
Return Value | Description |
---|---|
Number | Returns the calculated percentage value |
Sample
Example | Result | Description |
---|---|---|
percent(120, 25) | 30 | Returns the percentage value of 25% of 120, which is 30. |
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