Determine all function $f:\mathbb{R}\rightarrow \mathbb{R}$ such that the equality $f(\lfloor x \rfloor y)=f(x)f(\lfloor y\rfloor)$ holds for all $x,y\in\mathbb{R}$ (where $\lfloor x\rfloor$ is a floor function of $x$)
Try: $f(\lfloor x \rfloor y)=f(x)f(\lfloor y\rfloor)$
Put $x=y=0$, we have $f(0)= f(0)\lfloor f(0)\rfloor$
We have $f(0)=0$ or $\lfloor f(0)\rfloor =1$
Could some help me to solve it, Thanks
Hint: Take $0\leq x<1$. Letting $y$ vary, what do you get? You are going to want to keep the cases $f(0)=0$ and $f(0)\neq 0$ separate.