Nov 12, 2011 at 12:07am
You've got lost in the logic. Your code above says:
First, check to see if percentage is the same as 85, and THEN, if it is, floor it.
Do you see how that's completely back to front?
You need to floor it first, and THEN check to see if the new value is the same as 85.
Last edited on Nov 12, 2011 at 12:07am
Nov 12, 2011 at 12:16am
When I do it this way it still doesnt work
Last edited on Nov 12, 2011 at 12:34am