Let $f(x_1, \dots, x_n)$ be a real function on the $n$-dimensional unit cube (that is, mapping $[0,1]^n \mapsto \mathbb{R}$). Assume furthermore that $f$ is monotonic in every coordinate, and that $f$ is bounded.
I have the following questions:
Is it clear that $f$ is measurable (with respect to Borel sets on $[0,1]^n$)?
Is it true that there exists a function $\hat{f}$ which is right-continous (at every point, in every coordinate) such that $f=\hat{f}$ except on a set of Lebesgue measure zero?
If you know the answer, please also provide a reference (if possible).