I have two data one is like$=75$ and second data is dislike$=127$, both values are counted separately. But i need to show percentage of this.
For example $40\%$ likes and $60\%$ dislikes for the above something like.
I know to calculate percentage for single value $(\%/100)*x$ but for the above i don't have idea.
Can anyone help me on this?
Likes: $\quad\dfrac{\text{total number of likes}}{\text{total number of those answering}}\;=\;\dfrac{75}{75+127}\times 100\% \approx 37.13\%$.
Dislikes: $\dfrac{\text{total number of dislikes}}{\text{total number of those answering}} \;=\;\dfrac{127}{75 + 127} \times 100\%\approx 62.87\%$