I've tried plotting the graph of the function in Desmos and WolframAlpha, and true to the limit, the function tends to 1.
I would assume by the product rule of limits, that $\lim_{x \to 0} x = 0$, and hence the whole lot should be zero, too, but apparently not, as the behaviour of the floor function somehow makes the function tend to 1.
Or does it behave like $\lim_{x \to 0} \frac{x}{x} = 1 \mid x \in \mathbb{R}\backslash \{0\}$—which is much more straightforward to deduce? If so, why? I'm a little confused.
A useful property of the floor function is that $$ z - 1 < \lfloor z \rfloor \le z $$ for all $z$. If we apply that here with $z = \frac{1}{x}$, we get $$ \frac{1}{x} - 1 < \left\lfloor\frac{1}{x}\right\rfloor \le \frac{1}{x}, $$ then multiplying by $x$ (assuming $x > 0$) $$ 1 - x < x \cdot \left\lfloor\frac{1}{x}\right\rfloor \le 1. $$ Now you see that it is bounded on either side by $1-x$ and $1$, and both of them approach $1$, so we can apply the squeeze theorem to get that the limit is $1$.
Try the $x < 0$ case, it's similar!