0 doesn't equal 0

http://puu.sh/nTCHa/597e910678.png

So I’ve got an equation working out how many times 500 goes into a number and somehow 0 doesn’t equal 0.

What do I do.

You didn’t look at the image.

I’m watching the value and it’s 0, I then do a bool to see if it equal 0 and it says false.

whenever you want to re-use a random integer, it should be stored in a variable. ReAccessing the output pins on random functions produces random results.

I’m not 100% sure what your doing here but if your checking whether a number divided by 500 is equal to zero then that can never be true. No number divided by 500 can be 0 except for 0 (0/500), does your minimum pin of the Random Int node include 0? It’s difficult to tell as the image doesn’t show whats to the left of it.

If you could post a screenshot that shows whats to the left of random int then I could give a better answer.