[php] How do I calculate the percentage of a number?