A divided by B displays C percent
Posted on 2007-10-15
Assuming you have two variables...
How would I display to screen a number representing a percentage? In other words, if correctAnswersCount = 12 and questionsAnswer = 24, then I want to have a number displayed like this: 50%
I also need the result round to the nearest integer. IOW, a result of 50.7 should be displayed as 51%