how to find the percentage of a number which is in string format in javascript code example
Example: percentage formula in javascript
const result = Math.round((data.expense / data.income) * 100)
const result = Math.round((data.expense / data.income) * 100)