That's what you get from dividing by 0
Type: Posts; User: Norm
That's what you get from dividing by 0
Try printing the value of the variable: percent without formatting to see what its value is.
Please edit your post and wrap your code with code tags:
<YOUR CODE HERE>
to get highlighting...