After looking for the number of digits of a given number, I found this Brilliant page that says that given an integer $n$, one can determine $j$, the number of digits in $n$, by working with the inequality $10^{j - 1} \leq n \leq 10^{j} - 1$. By taking the base $10$ logarithm, $j - 1 \leq \log_{10} n < j$, so that $j - 1 = \lfloor \log_{10} n \rfloor$.
What I actually don't understand is the change of signs from $n \leq 10^{j} - 1$ to $\log_{10} n < j$ and the passage $j - 1 \leq \log_{10} n$ to $j - 1 = \lfloor \log_{10} n \rfloor$. I also read the answer to this question in the forum but the inequalities are slighty different from the ones of Brilliant. Could you help me out? (Sorry if the questions is ill-posed or confusing)