Last Updated: Mar 15, 2021
This function is deprecated. Use Get Percentage.
Use this function to find the percentage of discount in the given cost_price.
Discount Percentage (discount, cost_price)
Input Parameter Name | Description |
---|---|
discount | Discount value to find the discount percentage |
cost_price | Costprice value to find the discount percentage |
Return Value | Description |
---|---|
Value | Returns the percentage of discount in the cost_price |
Discount Percentage (30, 100)
To view all the Math functions, click here.