Simple math doing my head in - when is an int treated like an int?

Sorry, = not := (and its Spin, not Pascal, in fact!)