PDA

View Full Version : Error Infinity%


rodrigoalex
09-21-2009, 02:59 PM
Hello guys, okay?

I have a problem with a preloader, it returns this message instead of making the loading: Infinity%

Has anyone had this problem, would have a solution?

Thank you for your attention!

senocular
09-21-2009, 03:05 PM
n/0 = infinity. Check to make sure the denominator is not 0 before determining percent. If it is, % = 0

rodrigoalex
09-22-2009, 02:45 PM
but look at this:

www.grupouniversos.com/representantes

www.universosideas.com.br/representantes

It's the same project, for a work and the other not? It's the same class that I used that makes the progress bar and I've got to be divided by zero and is not, then the problem lies elsewhere.

wvxvw
09-22-2009, 06:05 PM
You cannot fight the math with empirical evidence :) The math will win anyway :)