Or (k ~= math.floor(k))) then.

New instance of the other checks being performed. To customize the setting, drop a.