Question: what is the formula of getting the percentage?
Answer: If you have to turn a percentage into a decimal, just divide by 100. For example, 25% = 25/100 = 0.25. To change a decimal into a percentage, multiply by 100.