Let $f(x)$ be an arbitrary function. Let $g(x) = \lfloor x\rfloor$ be the greatest integer function.
We know that $g(x)$ is discontinuous whenever $x$ is integer.
Can we say that $g(f(x)) = \lfloor f(x) \rfloor$ is discontinuous whenever $f(x)$ takes integer values?
There is a discontinuity when $f$ "crosses" an integer value, not if it reaches it and leaves it "from above".
$\lfloor x^2\rfloor$ is continuous where $x^2=0$.