Problem with compareInt?

Store the number in a local variable, temporary.