Quick integer question

I’ve had a look for the answer to this online and can’t find a solution. I need the following code to check for an integer. My attempt is below and the code in red isn’t working. Can anyone tell me how this is done?

Thanks for looking.



for (var j:int = 0; j < 24; j++) {
	var myVar = colCount/4;
	if ([COLOR="Red"]j/colCount = int[/COLOR]) {
		trace("INTEGER");
	} else if ([COLOR="Red"]j/colCount != int[/COLOR]) {
		trace("Not an integer");
	}
}