Suppose $f(x,y)$ is a function mapping from $R^2$ to $R$ and it is continuous in each variable separately (separable continuity), then why $f(\frac{{\left\lfloor {mx} \right\rfloor }}{m},\frac{{\left\lfloor {ny} \right\rfloor }}{n})$ is Lebesgue measurable where $m,n$ are positive integers? How to show the measurability? $\left\lfloor {mx} \right\rfloor $ denotes the largest integer no larger than $mx$.
Actually similar question has been asked here Showing a function of two variables is measurable and here Separate continuity implies measurability. I have examined the answers to the two posts but still don't get it. Hope someone can help. Thank you!