It’s not an integer, but neither is 4/3.
Pi is not the ratio of two integers (whole numbers).
The circumference : diameter is a ratio and equal to pi, but the circumference and diameter cannot both be integers.