Critical behavior of thin Ising films with noninteger thicknesses